Changeset 823 for soft/giet_vm/applications/rosenfeld/Makefile
- Timestamp:
- Jun 14, 2016, 5:23:56 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/rosenfeld/Makefile
r822 r823 6 6 7 7 TARGET ?= linux 8 IGNORE_ASSERT ?= false 9 8 10 # 9 11 # -- Config ---------- … … 11 13 ifeq ($(TARGET),giet-vm) 12 14 13 C_DEBUG_FLAGS = -O014 15 C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing 15 16 C_OS_FLAGS = -DGTODay -DTARGET_OS=GIETVM 16 17 C_CONFIG_FLAGS = -DCLI 17 18 C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include -I../.. -I../../giet_libs -I../../giet_xml/ 18 CFLAGSCPU := -mips32 -EL -G0 -mhard-float -fomit-frame-pointer -fno-builtin -ffreestanding19 CFLAGSCPU = -mips32 -EL -G0 -mhard-float -fomit-frame-pointer -fno-builtin -ffreestanding 19 20 20 LDFLAGS := -Lnrc2 -L../../build/libs -Trosenfeld.ld --start-group -lnrc2x -luser -lmath --end-group21 LDFLAGS = -Lnrc2 -L../../build/libs -Trosenfeld.ld --start-group -lnrc2x -luser -lmath --end-group 21 22 22 23 endif … … 28 29 29 30 # -- Config ---------- 30 C_DEBUG_FLAGS = -O031 31 C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing 32 32 C_OS_FLAGS = -DGTODay -DTARGET_OS=LINUX -D_GNU_SOURCE … … 34 34 C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include 35 35 CFLAGSCPU = 36 ifeq ($(IGNORE_ASSERT),true) 37 C_OPTIM_FLAGS := $(C_OPTIM_FLAGS) -DNDEBUG 38 endif 36 39 37 LDFLAGS := -Lnrc2 -Wl,--start-group -lnrc2x -lm -lpthread -Wl,--end-group40 LDFLAGS = -Lnrc2 -Wl,--start-group -lnrc2x -lm -lpthread -Wl,--end-group 38 41 39 42 endif … … 41 44 42 45 43 CFLAGSW := -Wredundant-decls -Wdisabled-optimization -Winline -Wpointer-arith -Wsign-compare -Wendif-labels -Wno-unused-function -Wno-unused-variable46 CFLAGSW = -Wredundant-decls -Wdisabled-optimization -Winline -Wpointer-arith -Wsign-compare -Wendif-labels -Wno-unused-function -Wno-unused-variable 44 47 45 48 # -- Flags ---------- 46 #CFLAGS = $(C_DEBUG_FLAGS) $(C_OS_FLAGS) $(C_INC_FLAGS) $(C_CONFIG_FLAGS)47 49 CFLAGS = $(C_OPTIM_FLAGS) $(C_OS_FLAGS) $(C_INC_FLAGS) $(C_CONFIG_FLAGS) -g -Wall $(CFLAGSW) $(CFLAGSCPU) 48 50
Note: See TracChangeset
for help on using the changeset viewer.