convert from svn repository: remove tags directory
[lttv.git] / trunk / markers-userspace / Makefile
CommitLineData
99c5a086 1
caa8528b 2# 32 bits arch makefile
3
99c5a086 4CC=gcc
5
20fd073e 6all: libtestlib.so testprog testprog.S
99c5a086 7
8marker-lib.o: marker-lib.c marker.h
9 $(CC) -O2 -DCONFIG_MARKERS -c -o $@ marker-lib.c
10
11testprog: testprog.c marker.h marker-lib.o
20fd073e 12 $(CC) -Wl,-Telf_i386.xmark -O2 -DCONFIG_MARKERS -L. -ltestlib -o $@ testprog.c marker-lib.o
99c5a086 13
14testprog.S: testprog.c marker.h
15 $(CC) -O2 -DCONFIG_MARKERS -S -o $@ testprog.c
16
20fd073e 17libtestlib.so: testlib.c marker.h marker-lib.o
18 $(CC) -Wl,-Telf_i386.xmark -O2 -DCONFIG_MARKERS -shared -o $@ testlib.c marker-lib.o
19
99c5a086 20.PHONY: clean
21
22clean:
20fd073e 23 rm -f testprog testprog.S marker-lib.o libtestlib.so
This page took 0.026801 seconds and 4 git commands to generate.