aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 80cbb1fb0ec239d3926e1272cddfbf15d99ccfea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
asm/libcreole.so: creole.c creole.h
	$(CC) -Wall -fPIC -c creole.c -o c_test/creole.o
	$(CC) -shared -o asm/libcreole.so c_test/creole.o

test_asm: asm/libcreole.so
	cd asm && python3 test.py
c_test/encode_decode: c_test/encode_decode.c creole.c creole.h
	$(CC) c_test/encode_decode.c -Wall -pedantic -std=c89 -g -fopenmp -o c_test/encode_decode
c_test/creole: c_test/creole.c creole.c creole.h greatest.h
	$(CC) -g c_test/creole.c -Wall -pedantic -std=c89 -o c_test/creole