Ignore:
Timestamp:
Jun 14, 2016, 5:23:56 PM (8 years ago)
Author:
meunier
Message:
  • Improved scripts for simulations and graphes
  • Continued to clean up the lib nrc2 (from nrio2x.x to nrmem1.c)
  • Added a version (Fast - Parmerge - No stats)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/rosenfeld/Makefile

    r822 r823  
    66
    77TARGET ?= linux
     8IGNORE_ASSERT ?= false
     9
    810#
    911# -- Config ----------
     
    1113ifeq ($(TARGET),giet-vm)
    1214
    13 C_DEBUG_FLAGS = -O0
    1415C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing
    1516C_OS_FLAGS = -DGTODay -DTARGET_OS=GIETVM
    1617C_CONFIG_FLAGS = -DCLI
    1718C_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 -ffreestanding
     19CFLAGSCPU = -mips32 -EL -G0 -mhard-float -fomit-frame-pointer -fno-builtin -ffreestanding
    1920
    20 LDFLAGS := -Lnrc2 -L../../build/libs -Trosenfeld.ld --start-group -lnrc2x -luser -lmath --end-group
     21LDFLAGS = -Lnrc2 -L../../build/libs -Trosenfeld.ld --start-group -lnrc2x -luser -lmath --end-group
    2122
    2223endif
     
    2829
    2930# -- Config ----------
    30 C_DEBUG_FLAGS = -O0
    3131C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing
    3232C_OS_FLAGS = -DGTODay -DTARGET_OS=LINUX -D_GNU_SOURCE
     
    3434C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include
    3535CFLAGSCPU =
     36ifeq ($(IGNORE_ASSERT),true)
     37C_OPTIM_FLAGS := $(C_OPTIM_FLAGS) -DNDEBUG
     38endif
    3639
    37 LDFLAGS := -Lnrc2 -Wl,--start-group -lnrc2x -lm -lpthread -Wl,--end-group
     40LDFLAGS = -Lnrc2 -Wl,--start-group -lnrc2x -lm -lpthread -Wl,--end-group
    3841
    3942endif
     
    4144
    4245
    43 CFLAGSW := -Wredundant-decls -Wdisabled-optimization -Winline -Wpointer-arith -Wsign-compare -Wendif-labels -Wno-unused-function -Wno-unused-variable
     46CFLAGSW = -Wredundant-decls -Wdisabled-optimization -Winline -Wpointer-arith -Wsign-compare -Wendif-labels -Wno-unused-function -Wno-unused-variable
    4447
    4548# -- Flags ----------
    46 #CFLAGS = $(C_DEBUG_FLAGS) $(C_OS_FLAGS) $(C_INC_FLAGS) $(C_CONFIG_FLAGS)
    4749CFLAGS = $(C_OPTIM_FLAGS) $(C_OS_FLAGS) $(C_INC_FLAGS) $(C_CONFIG_FLAGS) -g -Wall $(CFLAGSW) $(CFLAGSCPU)
    4850
Note: See TracChangeset for help on using the changeset viewer.