2023-02-12 15:39:03 -05:00
|
|
|
test: test_asm c_test/encode_decode c_test/creole
|
2023-04-07 15:49:53 -04:00
|
|
|
CFLAGS=-DCREOLE_TEST
|
2023-02-07 23:15:54 -05:00
|
|
|
asm/libcreole.so: creole.c creole.h
|
2023-04-07 15:49:53 -04:00
|
|
|
$(CC) $(CFLAGS) -Wall -fPIC -c creole.c -o c_test/creole.o
|
2023-02-07 23:15:54 -05:00
|
|
|
$(CC) -shared -o asm/libcreole.so c_test/creole.o
|
|
|
|
|
2023-02-09 11:16:41 -05:00
|
|
|
test_asm: asm/libcreole.so
|
2023-02-18 11:05:09 -05:00
|
|
|
cd asm && python3 test.py -f
|
2023-02-07 12:48:28 -05:00
|
|
|
c_test/encode_decode: c_test/encode_decode.c creole.c creole.h
|
2023-04-07 15:49:53 -04:00
|
|
|
$(CC) $(CFLAGS) creole.c c_test/encode_decode.c -Wall -pedantic -std=c99 -g -fopenmp -o c_test/encode_decode
|
2023-02-12 15:39:03 -05:00
|
|
|
# c_test/encode_decode
|
|
|
|
c_test/creole: c_test/creole.c creole.c creole.h c_test/greatest.h
|
2023-04-07 15:49:53 -04:00
|
|
|
$(CC) $(CFLAGS) -g c_test/creole.c -Wall -pedantic -std=c99 -o c_test/creole
|
2023-02-12 15:39:03 -05:00
|
|
|
c_test/creole
|