Document that SMP is supported from gcc 3.3 onward
[jack_interposer.git] / Makefile
blob26ff4a0a85eb5c16bd6e46616f997dde64208726
1 TESTS=test_new test_cond_wait test_cond_wait_simple test_printf
3 jack_interposer.so: jack_interposer.c checkers.c manual.c
4 gcc -Wall -fPIC -o jack_interposer.so -shared jack_interposer.c -pthread -ldl -ljack
6 checkers.c: functions checker_fragment.c
7 ./generate_checkers.pl < functions
9 .PHONY clean:
10 rm jack_interposer.so test_cond_wait test_cond_wait_simple || true
12 test: $(TESTS) jack_interposer.so
13 LD_PRELOAD=./jack_interposer.so ./test_cond_wait_simple
14 LD_PRELOAD=./jack_interposer.so ./test_cond_wait
15 LD_PRELOAD=./jack_interposer.so ./test_new
16 LD_PRELOAD=./jack_interposer.so ./test_printf
18 test_new: test_new.cpp
19 g++ -o test_new test_new.cpp -ljack
21 test_cond_wait_simple: test_cond_wait_simple.c
22 gcc -o test_cond_wait_simple test_cond_wait_simple.c -pthread -ldl
24 test_cond_wait: test_cond_wait.c
25 gcc -o test_cond_wait test_cond_wait.c -ljack -lpthread
27 test_printf: test_printf.c
28 gcc -o test_printf test_printf.c -ljack