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