Working on exercise 3-5 but I'm creating some libraries
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
if [ ! -d "bin" ]; then
|
||||
mkdir bin
|
||||
echo "created bin directory"
|
||||
fi
|
||||
|
||||
if [ ! -d "bin/static" ]; then
|
||||
mkdir bin/static
|
||||
echo "created bin/static directory"
|
||||
fi
|
||||
|
||||
gcc -c src/hex.c -Iinclude -o bin/static/hex.o
|
||||
|
||||
ar rcs bin/static/libhexoctalconv.a bin/static/hex.o
|
||||
Reference in New Issue
Block a user