]> rtime.felk.cvut.cz Git - frescor/fosa.git/commitdiff
Separating needed compile and link options from config_example.mk to
authortelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Fri, 18 Jan 2008 14:55:12 +0000 (14:55 +0000)
committertelleriam <telleriam@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Fri, 18 Jan 2008 14:55:12 +0000 (14:55 +0000)
rules.mk (according to Tomasso).  Added definition for UTILS_PATH.

git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@999 35b4ef3e-fd22-0410-ab77-dab3279adceb

config_example.mk
rules.mk

index 22f05ae32403b37525caeac81ec618448ca54e14..04e22483596993df0d4f17143b8dbd43e124d9bd 100644 (file)
@@ -7,8 +7,9 @@ FRESCOR_ROOT = $(HOME)/frescor_dev
 FRSH_PATH = $(FRESCOR_ROOT)/frsh
 # the path to the FOSA directory.
 FOSA_PATH = $(FRESCOR_ROOT)/fosa
+# the path to the UTILS directory
+UTILS_PATH = $(FRESCOR_ROOT)/utils
 
 # the compilation flags
-CFLAGS = -Wall -g -D$(PLATFORM) -I$(FRSH_PATH)/include \
-       -I$(FOSA_PATH)/include \
-       -I$(FOSA_PATH)/marte_non_local_jump
+CFLAGS = -Wall -g 
+CFLAGS += -O1  -Wuninitialized
index 2496c47bf79ccc10d505f15c71bc85067f6edd23..8d99e3ca08731cadc6c34af64c302ffafd677400 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -7,6 +7,16 @@ else
 endif
 
 
+CFLAGS += -D$(PLATFORM) \
+        -I$(FRSH_PATH)/include \
+        -I$(FOSA_PATH)/include \
+        -I$(UTILS_PATH)/include
+
+ifeq ($(PLATFORM), MARTE_OS)
+       CFLAGS += -I$(FOSA_PATH)/marte_non_local_jump
+endif
+
+
 none:
        @exec echo -e "\nPlease introduce a target, i.e: 'make test'";