fix lib
[lttv.git] / markers-userspace / Makefile
1
2 CC=gcc
3
4 all: libtestlib.so testprog testprog.S
5
6 marker-lib.o: marker-lib.c marker.h
7 $(CC) -O2 -DCONFIG_MARKERS -c -o $@ marker-lib.c
8
9 testprog: testprog.c marker.h marker-lib.o
10 $(CC) -Wl,-Telf_i386.xmark -O2 -DCONFIG_MARKERS -L. -ltestlib -o $@ testprog.c marker-lib.o
11
12 testprog.S: testprog.c marker.h
13 $(CC) -O2 -DCONFIG_MARKERS -S -o $@ testprog.c
14
15 libtestlib.so: testlib.c marker.h marker-lib.o
16 $(CC) -Wl,-Telf_i386.xmark -O2 -DCONFIG_MARKERS -shared -o $@ testlib.c marker-lib.o
17
18 .PHONY: clean
19
20 clean:
21 rm -f testprog testprog.S marker-lib.o libtestlib.so
This page took 0.029475 seconds and 5 git commands to generate.