4 all: libtestlib.so testprog testprog.S
6 marker-lib.o: marker-lib.c marker.h
7 $(CC) -fPIC -O2 -DCONFIG_MARKERS -c -o $@ marker-lib.c
9 testprog: testprog.c marker.h marker-lib.o
10 $(CC) -fPIC -Wl,-Telf_x86_64.xmark -O2 -DCONFIG_MARKERS -L. -ltestlib -o $@ testprog.c marker-lib.o
12 testprog.S: testprog.c marker.h
13 $(CC) -fPIC -O2 -DCONFIG_MARKERS -S -o $@ testprog.c
15 libtestlib.so: testlib.c marker.h marker-lib.o
16 $(CC) -Wl,-Telf_x86_64.xmark -O2 -fPIC -DCONFIG_MARKERS -shared -o $@ testlib.c marker-lib.o
21 rm -f testprog testprog.S marker-lib.o libtestlib.so