3 HEADERS
= ..
/include/side
/trace.h ..
/include/side
/macros.h rcu.h smp.h list.h \
4 ..
/include/side
/endian.h
7 CPPFLAGS
= -I..
/include/ -D_GNU_SOURCE
9 side.o
: side.c
$(HEADERS
)
10 $(CC
) $(CFLAGS
) $(CPPFLAGS
) -c
-o
$@
$<
12 rcu.o
: rcu.c
$(HEADERS
)
13 $(CC
) $(CFLAGS
) $(CPPFLAGS
) -c
-o
$@
$<
15 smp.o
: smp.c
$(HEADERS
)
16 $(CC
) $(CFLAGS
) $(CPPFLAGS
) -c
-o
$@
$<
18 tracer.o
: tracer.c
$(HEADERS
)
19 $(CC
) $(CFLAGS
) $(CPPFLAGS
) -c
-o
$@
$<
21 test.o
: test.c
$(HEADERS
)
22 $(CC
) $(CFLAGS
) $(CPPFLAGS
) -c
-o
$@
$<
24 test: tracer.o
test.o side.o rcu.o smp.o
25 $(CC
) $(CFLAGS
) -o
$@
$^
-lrseq