Ignore:
Timestamp:
May 6, 2016, 3:06:29 PM (9 years ago)
Author:
meunier
Message:
  • Added several versions of rosenfeld: { SLOW, FAST } x { FEATURES, NO_FEATURES }
  • Added native linux compilation support
  • Added a script to check results natively
  • Started to refactor nrc code
File:
1 edited

Legend:

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

    r805 r821  
    3131C_DEBUG_FLAGS = -O0
    3232C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing
    33 C_OS_FLAGS = -DGTODay -DTARGET_OS=LINUX
     33C_OS_FLAGS = -DGTODay -DTARGET_OS=LINUX -D_GNU_SOURCE
    3434C_CONFIG_FLAGS = -DCLI
    3535C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include
    3636CFLAGSCPU =
    3737
    38 LDFLAGS := -Lnrc2 -Wl,--start-group -lnrc2x -lm -Wl,--end-group
     38LDFLAGS := -Lnrc2 -Wl,--start-group -lnrc2x -lm -lpthread -Wl,--end-group
    3939
    4040endif
     
    5252
    5353SRC_FILE = $(wildcard $(SRC_PATH)/*.c)
    54 INC_FILE = $(wildcard $(SRC_PATH)/*.h)
     54INC_FILE = $(wildcard $(INC_PATH)/*.h)
    5555
    5656#SRC = $(addprefix $(SRC_PATH)/,$(FILE))
     
    6666        $(LD) -o $@ $^ $(LDFLAGS)
    6767
    68 $(OBJ_PATH)/%.o: $(SRC_PATH)/%.c $(INC_FILE) nrc2/libnrc2x.a ../../build/libs/libuser.a
     68$(OBJ_PATH)/%.o: $(SRC_PATH)/%.c $(INC_FILE) nrc2/libnrc2x.a ../../build/libs/libuser.a nrc2/include/nrc_os_config.h
    6969        $(CC) -c $(CFLAGS) -o $@ $<
    7070
Note: See TracChangeset for help on using the changeset viewer.