Changeset 798 for soft/giet_vm/applications/rosenfeld/Makefile
- Timestamp:
- Mar 2, 2016, 3:08:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/rosenfeld/Makefile
r791 r798 6 6 INC_PATH = include 7 7 8 TARGET ?= linux 9 # 10 # -- Config ---------- 11 12 ifeq ($(TARGET),giet-vm) 13 14 C_DEBUG_FLAGS = -O0 15 C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing 16 C_OS_FLAGS = -DGTODay -DTARGET_OS=GIETVM 17 C_CONFIG_FLAGS = -DCLI 18 C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include -I../.. -I../../giet_libs -I../../giet_xml/ 19 CFLAGSCPU := -mips32 -EL -G0 -mhard-float -fomit-frame-pointer -fno-builtin -ffreestanding 20 21 LDFLAGS := -Lnrc2 -L../../build/libs -Trosenfeld.ld --start-group -lnrc2x -luser -lmath --end-group 22 23 endif 24 25 ifeq ($(TARGET),linux) 26 27 CC = gcc 28 LD = gcc 8 29 9 30 # -- Config ---------- 10 31 C_DEBUG_FLAGS = -O0 11 32 C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing 12 C_OS_FLAGS = -DGTODay 33 C_OS_FLAGS = -DGTODay -DTARGET_OS=LINUX 13 34 C_CONFIG_FLAGS = -DCLI 14 C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include -I../.. -I../../giet_libs -I../../giet_xml/ 35 C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include 36 CFLAGSCPU = 37 38 LDFLAGS := -Lnrc2 -Wl,--start-group -lnrc2x -lm -Wl,--end-group 39 40 endif 41 42 43 44 CFLAGSW := -Wredundant-decls -Wdisabled-optimization -Winline -Wpointer-arith -Wsign-compare -Wendif-labels -Wno-unused-function 15 45 16 46 # -- Flags ---------- 17 47 #CFLAGS = $(C_DEBUG_FLAGS) $(C_OS_FLAGS) $(C_INC_FLAGS) $(C_CONFIG_FLAGS) 18 CFLAGS = $(C_OPTIM_FLAGS) $(C_OS_FLAGS) $(C_INC_FLAGS) $(C_CONFIG_FLAGS) 48 CFLAGS = $(C_OPTIM_FLAGS) $(C_OS_FLAGS) $(C_INC_FLAGS) $(C_CONFIG_FLAGS) -g -Wall $(CFLAGSW) $(CFLAGSCPU) 19 49 20 50 … … 28 58 29 59 30 CFLAGSW := -Wredundant-decls -Wdisabled-optimization -Winline -Wpointer-arith -Wsign-compare -Wendif-labels31 CFLAGSCPU := -mips32 -EL -G0 -mhard-float32 CFLAGS := $(CFLAGS) -g -Wall -fomit-frame-pointer $(CFLAGSW) $(CFLAGSCPU) -I$(INC_PATH) -fno-builtin -ffreestanding33 60 34 LDFLAGS := -Lnrc2 -L../../build/libs -Trosenfeld.ld --start-group -lnrc2x -luser -lmath --end-group35 61 36 62
Note: See TracChangeset
for help on using the changeset viewer.