]> rtime.felk.cvut.cz Git - frescor/fosa.git/blobdiff - rules.mk
Updating Doxygen info
[frescor/fosa.git] / rules.mk
index 2496c47bf79ccc10d505f15c71bc85067f6edd23..8c71e60d1c4176c90f540e9395b4205a8d82e574 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -7,6 +7,17 @@ else
 endif
 
 
+CFLAGS += -D$(PLATFORM) \
+        -I$(FOSA_PATH)/include 
+
+# This prevents mgcc from removing the debug information (stripping)
+LDFLAGS += -g
+
+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'";