rcu: refactor fast path for speed
[libside.git] / src / Makefile
1 all: test
2
3 HEADERS = ../include/side/trace.h ../include/side/macros.h rcu.h smp.h list.h \
4 ../include/side/endian.h
5
6 CFLAGS = -g -O2 -Wall
7 CPPFLAGS = -I../include/ -D_GNU_SOURCE
8
9 side.o: side.c $(HEADERS)
10 $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
11
12 rcu.o: rcu.c $(HEADERS)
13 $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
14
15 smp.o: smp.c $(HEADERS)
16 $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
17
18 tracer.o: tracer.c $(HEADERS)
19 $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
20
21 test.o: test.c $(HEADERS)
22 $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
23
24 test: tracer.o test.o side.o rcu.o smp.o
25 $(CC) $(CFLAGS) -o $@ $^ -lrseq
26
27 .PHONY: clean
28
29 clean:
30 rm -f test *.o
This page took 0.029274 seconds and 4 git commands to generate.