64 bits
[lttv.git] / markers-userspace / Makefile
CommitLineData
99c5a086 1
2CC=gcc
3
20fd073e 4all: libtestlib.so testprog testprog.S
99c5a086 5
6marker-lib.o: marker-lib.c marker.h
7 $(CC) -O2 -DCONFIG_MARKERS -c -o $@ marker-lib.c
8
9testprog: testprog.c marker.h marker-lib.o
20fd073e 10 $(CC) -Wl,-Telf_i386.xmark -O2 -DCONFIG_MARKERS -L. -ltestlib -o $@ testprog.c marker-lib.o
99c5a086 11
12testprog.S: testprog.c marker.h
13 $(CC) -O2 -DCONFIG_MARKERS -S -o $@ testprog.c
14
20fd073e 15libtestlib.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
99c5a086 18.PHONY: clean
19
20clean:
20fd073e 21 rm -f testprog testprog.S marker-lib.o libtestlib.so
This page took 0.026975 seconds and 4 git commands to generate.