Chameleon

Chameleon Commit Details

Date:2011-08-05 22:00:39 (7 years 11 months ago)
Author:Evan Lojewski
Commit:1287
Parents: 1286
Message:Enable optimizations for i386
Changes:
M/branches/xZenu/src/arch/i386/Make.rules
M/branches/xZenu/Make.rules

File differences

branches/xZenu/Make.rules
1010
1111
1212
13
13
1414
1515
1616
1717
1818
19
19
2020
2121
2222
2323
2424
25
25
2626
2727
2828
$(OBJROOT)/%.o: %.c $(OBJROOT)
@echo "\t[CC] $<"
@$(NATIVE_CC) $(CFLAGS) $(DEFINES) -c $(INC) $< -o $@ \
@$(NATIVE_CC) ${CONFIG_OPTIMIZATION_LEVEL} $(CFLAGS) $(DEFINES) -c $(INC) $< -o $@ \
-MD -dependency-file $(OBJROOT)/$*.d
@md -u $(OBJROOT)/Makedep -f -d $(OBJROOT)/$*.d
$(OBJROOT)/%.o: %.m $(OBJROOT)
@echo "\t[M] $<"
@$(NATIVE_CC) $(CFLAGS) $(DEFINES) -c $(INC) $< -o $@ \
@$(NATIVE_CC) ${CONFIG_OPTIMIZATION_LEVEL} $(CFLAGS) $(DEFINES) -c $(INC) $< -o $@ \
-MD -dependency-file $(OBJROOT)/$*.d
@md -u $(OBJROOT)/Makedep -f -d $(OBJROOT)/$*.d
$(OBJROOT)/%.o: %.cpp $(OBJROOT)
@echo "\t[CPP] $<"
@$(NATIVE_CPP) $(CPPFLAGS) $(CFLAGS) -c "$<" $(INC) -o $@ \
@$(NATIVE_CPP) ${CONFIG_OPTIMIZATION_LEVEL} $(CPPFLAGS) $(CFLAGS) -c "$<" $(INC) -o $@ \
-MD -dependency-file $(OBJROOT)/$*.d
@md -u $(OBJROOT)/Makedep -f -d $(OBJROOT)/$*.d
branches/xZenu/src/arch/i386/Make.rules
1111
1212
1313
14
14
1515
1616
1717
1818
1919
20
20
2121
2222
2323
2424
2525
26
26
2727
2828
2929
3030
3131
32
32
3333
3434
3535
##### i386 Rules #####
$(OBJROOT)/%.${ARCH}o: %.c $(OBJROOT)
@echo "\t[CC:I386] $<"
@$(TARGET_CC) -arch ${ARCH} $(CFLAGS) $(DEFINES) -c $(INC) $< -o $@ \
@$(TARGET_CC) ${CONFIG_OPTIMIZATION_LEVEL} -arch ${ARCH} $(CFLAGS) $(DEFINES) -c $(INC) $< -o $@ \
-MD -dependency-file $(OBJROOT)/$*.d
@md -u $(OBJROOT)/Makedep -f -d $(OBJROOT)/$*.d
$(OBJROOT)/%.${ARCH}o: %.m $(OBJROOT)
@echo "\t[M:I386] $<"
@$(TARGET_CC) -arch ${ARCH} $(CFLAGS) $(DEFINES) -c $(INC) $< -o $@ \
@$(TARGET_CC) ${CONFIG_OPTIMIZATION_LEVEL} -arch ${ARCH} $(CFLAGS) $(DEFINES) -c $(INC) $< -o $@ \
-MD -dependency-file $(OBJROOT)/$*.d
@md -u $(OBJROOT)/Makedep -f -d $(OBJROOT)/$*.d
$(OBJROOT)/%.${ARCH}o: %.cpp $(OBJROOT)
@echo "\t[CPP:I386] $<"
@$(TARGET_CPP) -arch ${ARCH} $(CPPFLAGS) $(CFLAGS) -c "$<" $(INC) -o $@ \
@$(TARGET_CPP) ${CONFIG_OPTIMIZATION_LEVEL} -arch ${ARCH} $(CPPFLAGS) $(CFLAGS) -c "$<" $(INC) -o $@ \
-MD -dependency-file $(OBJROOT)/$*.d
@md -u $(OBJROOT)/Makedep -f -d $(OBJROOT)/$*.d
$(OBJROOT)/%.${ARCH}o: %.s
@echo "\t[AS:I386] $<"
@$(TARGET_CC) -arch ${ARCH} $(CPPFLAGS) -c $(INC) -o $@ $< \
@$(TARGET_CC) ${CONFIG_OPTIMIZATION_LEVEL} -arch ${ARCH} $(CPPFLAGS) -c $(INC) -o $@ $< \
-MD -dependency-file $*.d
@md -u $(OBJROOT)/Makedep -f -d $*.d

Archive Download the corresponding diff file

Revision: 1287