supernova: allocators - fix construct method
[supercollider.git] / external_libraries / TLSF-2.4.6 / examples / Makefile
blob5462b8f68c752d3f302bc0783b02c59e5236484b
1 all: test test1 test2 test3 test4
3 TLSF_PATH=../src
5 WARNINGS = -Wextra -Wall -Wwrite-strings -Wstrict-prototypes \
6 -Wmissing-prototypes -Wno-long-long -Wstrict-aliasing=2
7 CFLAGS+=-g -O2 -I$(TLSF_PATH) $(WARNINGS)
8 # CFLAGS+=-ftest-coverage -fprofile-arcs
9 CC = gcc
11 test: test.o $(TLSF_PATH)/tlsf.h
12 $(CC) $(CFLAGS) -o test test.o $(TLSF_PATH)/tlsf.o
14 test.o: test.c $(TLSF_PATH)/tlsf.h
16 test1: test1.o $(TLSF_PATH)/tlsf.h
17 $(CC) $(CFLAGS) -o test1 test1.o $(TLSF_PATH)/tlsf.o -lm
19 test1.o: test1.c $(TLSF_PATH)/tlsf.h
21 test2: test2.o $(TLSF_PATH)/tlsf.h
22 $(CC) $(CFLAGS) -o test2 test2.o $(TLSF_PATH)/tlsf.o -lm
24 test2.o: test2.c $(TLSF_PATH)/tlsf.h
26 test3: test3.o $(TLSF_PATH)/tlsf.h
27 $(CC) $(CFLAGS) -o test3 test3.o $(TLSF_PATH)/tlsf.o -lm
29 test3.o: test3.c $(TLSF_PATH)/tlsf.h
31 test4: test4.o $(TLSF_PATH)/tlsf.h
32 $(CC) $(CFLAGS) -o test4 test4.o $(TLSF_PATH)/tlsf.o -lm
34 test4.o: test4.c $(TLSF_PATH)/tlsf.h
36 clean:
37 $(RM) -rf *.o test test? *~ *.c.gcov *.gcda *.gcno