Changeset 137 for trunk/Softwares/SPECINT2000
- Timestamp:
- Feb 16, 2010, 1:35:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/SPECINT2000/Makefile
r124 r137 27 27 DIR_SYS = $(DIR_SRC)/sys 28 28 DIR_INC = $(DIR_SRC)/include 29 DIR_LDSCRIPT = $( NEWLIB)/lib/29 DIR_LDSCRIPT = $($(OS)_DIR_LDSCRIPT) 30 30 31 INCDIR = $( NEWLIB_INCDIR) -I$(DIR_INC)32 LIBDIR = $( NEWLIB_LIBDIR)33 LIBNAME = $( NEWLIB_LIBNAME)31 INCDIR = $($(OS)_INCDIR) -I$(DIR_INC) 32 LIBDIR = $($(OS)_LIBDIR) 33 LIBNAME = $($(OS)_LIBNAME) 34 34 35 35 #-----[ Flags ]------------------------------------------------------------------- … … 51 51 52 52 #-----[ Files ]------------------------------------------------------------------- 53 OBJECTS = $( NEWLIB)/lib/*.o\53 OBJECTS = $($(OS)_OBJECTS) \ 54 54 $(patsubst $(DIR_ASM)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_ASM)/*.s)) \ 55 55 $(patsubst $(DIR_SYS)/%.s,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SYS)/*.s)) \ … … 66 66 @\ 67 67 $(ECHO) "Compilation : $*.c"; \ 68 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_164.gzip) -o $@ -c $^ ;68 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_164.gzip) -o $@ -c $^ ; 69 69 70 70 $(DIR_OBJ)/175.vpr_%.o : $(SPECINT2000_PATH)/175.vpr/src/%.c 71 71 @\ 72 72 $(ECHO) "Compilation : $*.c"; \ 73 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_175.vpr) -o $@ -c $^ ;73 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_175.vpr) -o $@ -c $^ ; 74 74 75 75 $(DIR_OBJ)/176.gcc_%.o : $(SPECINT2000_PATH)/176.gcc/src/%.c 76 76 @\ 77 77 $(ECHO) "Compilation : $*.c"; \ 78 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_176.gcc) -o $@ -c $^ ;78 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_176.gcc) -o $@ -c $^ ; 79 79 80 80 $(DIR_OBJ)/181.mcf_%.o : $(SPECINT2000_PATH)/181.mcf/src/%.c 81 81 @\ 82 82 $(ECHO) "Compilation : $*.c"; \ 83 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_181.mcf) -o $@ -c $^ ;83 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_181.mcf) -o $@ -c $^ ; 84 84 85 85 $(DIR_OBJ)/186.crafty_%.o : $(SPECINT2000_PATH)/186.crafty/src/%.c 86 86 @\ 87 87 $(ECHO) "Compilation : $*.c"; \ 88 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_186.crafty) -o $@ -c $^ ;88 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_186.crafty) -o $@ -c $^ ; 89 89 90 90 $(DIR_OBJ)/255.vortex_%.o : $(SPECINT2000_PATH)/255.vortex/src/%.c 91 91 @\ 92 92 $(ECHO) "Compilation : $*.c"; \ 93 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_255.vortex) -o $@ -c $^ ;93 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_255.vortex) -o $@ -c $^ ; 94 94 95 95 $(DIR_OBJ)/197.parser_%.o : $(SPECINT2000_PATH)/197.parser/src/%.c 96 96 @\ 97 97 $(ECHO) "Compilation : $*.c"; \ 98 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_197.parser) -o $@ -c $^ ;98 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_197.parser) -o $@ -c $^ ; 99 99 100 100 $(DIR_OBJ)/252.eon_%.o : $(SPECINT2000_PATH)/252.eon/src/%.c 101 101 @\ 102 102 $(ECHO) "Compilation : $*.c"; \ 103 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_252.eon) -o $@ -c $^ ;103 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_252.eon) -o $@ -c $^ ; 104 104 105 105 $(DIR_OBJ)/253.perlbmk_%.o : $(SPECINT2000_PATH)/253.perlbmk/src/%.c 106 106 @\ 107 107 $(ECHO) "Compilation : $*.c"; \ 108 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_253.perlbmk) -o $@ -c $^ ;108 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_253.perlbmk) -o $@ -c $^ ; 109 109 110 110 $(DIR_OBJ)/254.gap_%.o : $(SPECINT2000_PATH)/254.gap/src/%.c 111 111 @\ 112 112 $(ECHO) "Compilation : $*.c"; \ 113 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_254.gap) -o $@ -c $^ ;113 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_254.gap) -o $@ -c $^ ; 114 114 115 115 $(DIR_OBJ)/256.bzip2_%.o : $(SPECINT2000_PATH)/256.bzip2/src/%.c 116 116 @\ 117 117 $(ECHO) "Compilation : $*.c"; \ 118 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_256.bzip2) -o $@ -c $^ ;118 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_256.bzip2) -o $@ -c $^ ; 119 119 120 120 $(DIR_OBJ)/300.twolf_%.o : $(SPECINT2000_PATH)/300.twolf/src/%.c 121 121 @\ 122 122 $(ECHO) "Compilation : $*.c"; \ 123 $( OR32_CC) $(OR32_CC_OPT) $(FLAGS_300.twolf) -o $@ -c $^ ;123 $($(TARGET)_CC) $($(TARGET)_CC_OPT) $(FLAGS_300.twolf) -o $@ -c $^ ;
Note: See TracChangeset
for help on using the changeset viewer.