10 changed files with 39 additions and 20 deletions
@ -1,34 +1,34 @@ |
|||||
default: tokenize.c closures.c tokenize.h RTS.h |
default: tokenize.c RTS.c tokenize.h RTS.h |
||||
$(CC) -DNDEBUG -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 -O3 ./tokenize.c -lmaa; |
$(CC) -DNDEBUG -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 -O3 ./tokenize.c -lmaa -o tokenize_test; |
||||
$(CC) -DNDEBUG -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 -O3 ./closures.c; |
$(CC) -DNDEBUG -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 -O3 ./RTS.c -o rts_test; |
||||
|
|
||||
unsafe: tokenize.c closures.c tokenize.h RTS.h |
unsafe: tokenize.c RTS.c tokenize.h RTS.h |
||||
$(CC) -DNDEBUG -std=c99 -O3 ./tokenize.c -lmaa; |
$(CC) -DNDEBUG -std=c99 -O3 ./tokenize.c -lmaa; |
||||
$(CC) -DNDEBUG -std=c99 -O3 ./closures.c; |
$(CC) -DNDEBUG -std=c99 -O3 ./RTS.c; |
||||
|
|
||||
unsafelib: tokenize.c closures.c tokenize.h RTS.h |
unsafelib: tokenize.c RTS.c tokenize.h RTS.h |
||||
$(CC) -DLIB -DNDEBUG -c -fpic -std=c99 -O3 ./tokenize.c; |
$(CC) -DLIB -DNDEBUG -c -fpic -std=c99 -O3 ./tokenize.c; |
||||
$(CC) -shared -o tokenize.so tokenize.o -lmaa; |
$(CC) -shared -o tokenize.so tokenize.o -lmaa; |
||||
|
|
||||
$(CC) -DLIB -DNDEBUG -c -fpic -std=c99 -O3 ./closures.c; |
$(CC) -DLIB -DNDEBUG -c -fpic -std=c99 -O3 ./RTS.c; |
||||
$(CC) -shared -o closures.so closures.o; |
$(CC) -shared -o RTS.so RTS.o; |
||||
|
|
||||
lib: tokenize.c closures.c tokenize.h RTS.h |
lib: tokenize.c RTS.c tokenize.h RTS.h |
||||
$(CC) -DLIB -DNDEBUG -c -fpic -Wall -Wextra -pedantic -Wpointer-arith -Werror -std=c99 -O3 ./tokenize.c |
$(CC) -DLIB -DNDEBUG -c -fpic -Wall -Wextra -pedantic -Wpointer-arith -Werror -std=c99 -O3 ./tokenize.c |
||||
$(CC) -shared -o tokenize.so tokenize.o -lmaa; |
$(CC) -shared -o tokenize.so tokenize.o -lmaa; |
||||
|
|
||||
$(CC) -DLIB -DNDEBUG -c -fpic -Wall -Wextra -pedantic -Wpointer-arith -Werror -std=c99 -O3 ./closures.c; |
$(CC) -DLIB -DNDEBUG -c -fpic -Wall -Wextra -pedantic -Wpointer-arith -Werror -std=c99 -O3 ./RTS.c; |
||||
$(CC) -shared -o closures.so closures.o; |
$(CC) -shared -o RTS.so RTS.o; |
||||
|
|
||||
debug: tokenize.c closures.c tokenize.h RTS.h |
debug: tokenize.c RTS.c tokenize.h RTS.h |
||||
$(CC) -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 ./tokenize.c -lmaa; |
$(CC) -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 ./tokenize.c -lmaa -o tokenize_debug; |
||||
$(CC) -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 ./closures.c; |
$(CC) -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 ./RTS.c; |
||||
|
|
||||
debuglib: tokenize.c closures.c tokenize.h RTS.h |
debuglib: tokenize.c RTS.c tokenize.h RTS.h |
||||
$(CC) -g -c -fpic -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 ./tokenize.c; |
$(CC) -g -c -fpic -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 ./tokenize.c; |
||||
$(CC) -shared -o tokenize.so tokenize.o -lmaa; |
$(CC) -shared -o tokenize.so tokenize.o -lmaa; |
||||
|
|
||||
$(CC) -g -c -fpic -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 ./closures.c; |
$(CC) -g -c -fpic -Wall -Wextra -pedantic -Wpointer-arith -Wmissing-prototypes -Werror -std=c99 ./RTS.c; |
||||
$(CC) -shared -o closures.so closures.o; |
$(CC) -shared -o RTS.so RTS.o; |
||||
|
|
||||
|
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue