Implement rseq-based RCU
[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
5 CFLAGS = -g -O2 -Wall
6 CPPFLAGS = -I../include/ -D_GNU_SOURCE
7
8 side.o: side.c $(HEADERS)
9 gcc $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
10
11 rcu.o: rcu.c $(HEADERS)
12 gcc $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
13
14 smp.o: smp.c $(HEADERS)
15 gcc $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
16
17 tracer.o: tracer.c $(HEADERS)
18 gcc $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
19
20 test.o: test.c $(HEADERS)
21 gcc $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
22
23 test: tracer.o test.o side.o rcu.o smp.o
24 gcc $(CFLAGS) -o $@ $^ -lrseq
25
26 .PHONY: clean
27
28 clean:
29 rm -f test *.o
This page took 0.028253 seconds and 4 git commands to generate.