2 # 32 bits arch makefile
6 all: libtestlib.so testprog testprog.S
8 marker-lib.o
: marker-lib.c marker.h
9 $(CC
) -O2
-DCONFIG_MARKERS
-c
-o
$@ marker-lib.c
11 testprog
: testprog.c marker.h marker-lib.o
12 $(CC
) -Wl
,-Telf_i386.xmark
-O2
-DCONFIG_MARKERS
-L.
-ltestlib
-o
$@ testprog.c marker-lib.o
14 testprog.S
: testprog.c marker.h
15 $(CC
) -O2
-DCONFIG_MARKERS
-S
-o
$@ testprog.c
17 libtestlib.so
: testlib.c marker.h marker-lib.o
18 $(CC
) -Wl
,-Telf_i386.xmark
-O2
-DCONFIG_MARKERS
-shared
-o
$@ testlib.c marker-lib.o
23 rm -f testprog testprog.S marker-lib.o libtestlib.so