Changeset 119 for trunk/Softwares/SPECINT2000/Makefile
- Timestamp:
- May 25, 2009, 7:40:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/SPECINT2000/Makefile
r117 r119 32 32 SPECINT2000_PATH_INC = $(addprefix -I, $(addsuffix /src, $(SPECINT2000_PATHS))) 33 33 SPECINT2000_PATH_SRC = $(wildcard $(addsuffix /src , $(SPECINT2000_PATHS))) 34 SPECINT2000_OBJECTS = $(addprefix $(DIR_OBJ)/164.gzip_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/164.gzip/src/*.c))))) 34 SPECINT2000_OBJECTS = $(addprefix $(DIR_OBJ)/164.gzip_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/164.gzip/src/*.c)))))\ 35 35 36 # $(addprefix $(DIR_OBJ)/175.vpr_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/175.vpr/src/*.c)))))\37 # $(addprefix $(DIR_OBJ)/176.gcc_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/176.gcc/src/*.c))))) \38 # $(addprefix $(DIR_OBJ)/181.mcf_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/181.mcf/src/*.c))))) \39 # $(addprefix $(DIR_OBJ)/255.vortex_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/255.vortex/src/*.c))))) \40 # $(addprefix $(DIR_OBJ)/256.bzip2_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/256.bzip2/src/*.c))))) \41 # 36 # $(addprefix $(DIR_OBJ)/175.vpr_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/175.vpr/src/*.c)))))\ 37 # $(addprefix $(DIR_OBJ)/181.mcf_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/181.mcf/src/*.c))))) \ 38 # $(addprefix $(DIR_OBJ)/256.bzip2_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/256.bzip2/src/*.c))))) \ 39 # $(addprefix $(DIR_OBJ)/176.gcc_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/176.gcc/src/*.c))))) 40 # $(addprefix $(DIR_OBJ)/255.vortex_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/255.vortex/src/*.c))))) \ 41 # $(addprefix $(DIR_OBJ)/300.twolf_, $(addsuffix .o, $(basename $(notdir $(wildcard $(SPECINT2000_PATH)/300.twolf/src/*.c))))) 42 42 43 43 DIR_SOFT = .. … … 54 54 LIBNAME = $(NEWLIB_LIBNAME) 55 55 56 FLAGS = -DSPECINT2000_PATH=\"$(SPECINT2000_PATH)\" \ 57 -DSPEC_CPU2000 \ 58 -DWANT_STDC_PROTO 56 FLAGS = -DSPECINT2000_PATH=\"$(SPECINT2000_PATH)\" 57 FLAGS_164.gzip = 58 FLAGS_175.vpr = -DSPEC_CPU2000 59 FLAGS_176.gcc = 60 FLAGS_181.mcf = -DWANT_STDC_PROTO 61 FLAGS_186.crafty = 62 FLAGS_197.parser = 63 FLAGS_252.eon = 64 FLAGS_253.perlbmk = 65 FLAGS_254.gap = 66 FLAGS_255.vortex = 67 FLAGS_256.bzip2 = -DWANT_STDC_PROTO 68 FLAGS_300.twolf = -DSPEC_CPU2000 59 69 60 70 #-----[ Files ]------------------------------------------------------------------- … … 73 83 @\ 74 84 $(ECHO) "Compilation : $*.c"; \ 75 $(OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ;85 $(OR32_CC) $(OR32_CC_OPT) $(FLAGS_164.gzip) -o $@ -c $^ ; 76 86 77 #$(DIR_OBJ)/175.vpr_%.o : $(SPECINT2000_PATH)/175.vpr/src/%.c78 #@\79 #$(ECHO) "Compilation : $*.c"; \80 # $(OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ;87 $(DIR_OBJ)/175.vpr_%.o : $(SPECINT2000_PATH)/175.vpr/src/%.c 88 @\ 89 $(ECHO) "Compilation : $*.c"; \ 90 $(OR32_CC) $(OR32_CC_OPT) $(FLAGS_175.vpr) -o $@ -c $^ ; 81 91 82 #$(DIR_OBJ)/176.gcc_%.o : $(SPECINT2000_PATH)/176.gcc/src/%.c83 #@\84 #$(ECHO) "Compilation : $*.c"; \85 # $(OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ;92 $(DIR_OBJ)/176.gcc_%.o : $(SPECINT2000_PATH)/176.gcc/src/%.c 93 @\ 94 $(ECHO) "Compilation : $*.c"; \ 95 $(OR32_CC) $(OR32_CC_OPT) $(FLAGS_176.gcc) -o $@ -c $^ ; 86 96 87 #$(DIR_OBJ)/181.mcf_%.o : $(SPECINT2000_PATH)/181.mcf/src/%.c88 #@\89 #$(ECHO) "Compilation : $*.c"; \90 # $(OR32_CC) $(OR32_CC_OPT) -o $@ -c $^ ;97 $(DIR_OBJ)/181.mcf_%.o : $(SPECINT2000_PATH)/181.mcf/src/%.c 98 @\ 99 $(ECHO) "Compilation : $*.c"; \ 100 $(OR32_CC) $(OR32_CC_OPT) $(FLAGS_181.mcf) -o $@ -c $^ ; 91 101 92 #$(DIR_OBJ)/255.vortex_%.o : $(SPECINT2000_PATH)/255.vortex/src/%.c93 #@\94 #$(ECHO) "Compilation : $*.c"; \95 # $(OR32_CC) $(OR32_CC_OPT)-o $@ -c $^ ;102 $(DIR_OBJ)/255.vortex_%.o : $(SPECINT2000_PATH)/255.vortex/src/%.c 103 @\ 104 $(ECHO) "Compilation : $*.c"; \ 105 $(OR32_CC) $(OR32_CC_OPT) $(FLAGS_255.vortex) -o $@ -c $^ ; 96 106 97 #$(DIR_OBJ)/256.bzip2_%.o : $(SPECINT2000_PATH)/256.bzip2/src/%.c98 #@\99 #$(ECHO) "Compilation : $*.c"; \100 # $(OR32_CC) $(OR32_CC_OPT)-o $@ -c $^ ;107 $(DIR_OBJ)/256.bzip2_%.o : $(SPECINT2000_PATH)/256.bzip2/src/%.c 108 @\ 109 $(ECHO) "Compilation : $*.c"; \ 110 $(OR32_CC) $(OR32_CC_OPT) $(FLAGS_256.bzip2) -o $@ -c $^ ; 101 111 102 #$(DIR_OBJ)/300.twolf_%.o : $(SPECINT2000_PATH)/300.twolf/src/%.c103 #@\104 #$(ECHO) "Compilation : $*.c"; \105 # $(OR32_CC) $(OR32_CC_OPT)-o $@ -c $^ ;112 $(DIR_OBJ)/300.twolf_%.o : $(SPECINT2000_PATH)/300.twolf/src/%.c 113 @\ 114 $(ECHO) "Compilation : $*.c"; \ 115 $(OR32_CC) $(OR32_CC_OPT) $(FLAGS_300.twolf) -o $@ -c $^ ;
Note: See TracChangeset
for help on using the changeset viewer.