# the gcc to use
CC = mgcc
+
+FRESCOR_ROOT = $(HOME)/frescor
# the path to the FRSH directory.
-FRSH_PATH = $(HOME)/frescor/frsh
+FRSH_PATH = $(FRESCOR_ROOT)/frsh
# the path to the FOSA directory.
-FOSA_PATH = $(HOME)/frescor/fosa
+FOSA_PATH = $(FRESCOR_ROOT)/fosa
# the path to the FNA directory.
-FNA_PATH = $(HOME)/frescor/fna
+FNA_PATH = $(FRESCOR_ROOT)/fna
+# the path to the UTILS directory
+UTILS_PATH = $(FRESCOR_ROOT)/utils
+
# the compilation flags
-CFLAGS = -Wall -g -D$(PLATFORM) -D$(RTEP_ENABLE) -D$(UNIX_ENABLE) -I$(FNA_PATH)/include -I$(FRSH_PATH)/include \
- -I$(FOSA_PATH)/include -I$(FOSA_PATH)/marte_non_local_jump
+CFLAGS = -Wall -g -O1 -Wuninitialized \
+ -D$(PLATFORM) \
+ -I$(FNA_PATH)/include \
+ -I$(FRSH_PATH)/include \
+ -I$(FOSA_PATH)/include \
+ -I$(UTILS_PATH)/include \
+ -I$(FOSA_PATH)/marte_non_local_jump
+
# the library flags
LDFLAGS = -L$(FNA_PATH)/lib -lfna