changeset 1407:976f7b77f0bf draft

fix Makefile
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Feb 2012 17:42:50 +0900
parents 8587ee89ef79
children 12035c84e052
files TaskManager/Makefile.fifo TaskManager/Makefile.parallel
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Makefile.fifo	Fri Feb 17 17:32:50 2012 +0900
+++ b/TaskManager/Makefile.fifo	Fri Feb 17 17:42:50 2012 +0900
@@ -5,9 +5,9 @@
 
 EXTRA_CFLAGS = -D__CERIUM_FIFO__ 
 
-#ifndef __APPLE__
+ifdef LINUX
 CFLAGS += -lrt
-#endif
+endif
 
 .cc.o:
 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDE) -c $< -o $@
--- a/TaskManager/Makefile.parallel	Fri Feb 17 17:32:50 2012 +0900
+++ b/TaskManager/Makefile.parallel	Fri Feb 17 17:42:50 2012 +0900
@@ -1,9 +1,10 @@
 include ./Makefile.def
 TARGET = libFifoManager.a
 CFLAGS += -DHAS_POSIX_MEMALIGN
-#ifndef __APPLE__
+
+ifdef LINUX
 CFLAGS += -lrt
-#endif
+endif
 
 
 .SUFFIXES: .cc .o