From c14b68f452e7072e401a83c26c6772f272eeec71 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 14 Jul 2008 20:29:15 +0000 Subject: [PATCH] 64 bits git-svn-id: http://ltt.polymtl.ca/svn@2953 04897980-b3bd-0310-b5e0-8ef037075253 --- markers-userspace/Makefile_64 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 markers-userspace/Makefile_64 diff --git a/markers-userspace/Makefile_64 b/markers-userspace/Makefile_64 new file mode 100644 index 00000000..67f8b68d --- /dev/null +++ b/markers-userspace/Makefile_64 @@ -0,0 +1,21 @@ + +CC=gcc + +all: libtestlib.so testprog testprog.S + +marker-lib.o: marker-lib.c marker.h + $(CC) -fPIC -O2 -DCONFIG_MARKERS -c -o $@ marker-lib.c + +testprog: testprog.c marker.h marker-lib.o + $(CC) -fPIC -Wl,-Telf_x86_64.xmark -O2 -DCONFIG_MARKERS -L. -ltestlib -o $@ testprog.c marker-lib.o + +testprog.S: testprog.c marker.h + $(CC) -fPIC -O2 -DCONFIG_MARKERS -S -o $@ testprog.c + +libtestlib.so: testlib.c marker.h marker-lib.o + $(CC) -Wl,-Telf_x86_64.xmark -O2 -fPIC -DCONFIG_MARKERS -shared -o $@ testlib.c marker-lib.o + +.PHONY: clean + +clean: + rm -f testprog testprog.S marker-lib.o libtestlib.so -- 2.34.1