]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
update for 64BIt support
authorhadaq <hadaq>
Thu, 20 Jan 2011 19:20:25 +0000 (19:20 +0000)
committerhadaq <hadaq>
Thu, 20 Jan 2011 19:20:25 +0000 (19:20 +0000)
trbnetd/Makefile

index ed9d373bd9525d0c5644a15d40b933a3f16b7420..1cb437d4c0ea5ab860f64fe45ce1255ee303cebd 100644 (file)
@@ -1,7 +1,13 @@
 # ------------ Compiler / Linker Options -------------------------------
 
-INCDIR = -I. 
+ARCH=$(shell uname -m)
+ifeq ($(shell uname -m), x86_64)
+CPPFLAGS = -DX86_64
+else
 CPPFLAGS =
+endif
+
+INCDIR = -I. 
 
 CC = gcc
 CFLAGS = -pipe -g  -Wall -O3