You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
208 B
11 lines
208 B
1 year ago
|
lib:
|
||
|
mkdir -p build
|
||
|
gcc -Wall -Werror -O2 -c src/*.c
|
||
|
mv *.o build
|
||
|
ar rcs build/cthlib.a build/*.o
|
||
|
|
||
|
test: clean
|
||
|
gcc -Wall -Werror -O2 -static src/cthlib.c testing/test.c -o test
|
||
|
|
||
|
clean:
|
||
|
rm -rf test build
|