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
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
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'";