Makefile
changeset 2356 43d1812406e7
parent 2340 e18ef06bc59a
child 2369 80ca2ba71384
equal deleted inserted replaced
2355:99f43babc05d 2356:43d1812406e7
   330 ifdef OSX
   330 ifdef OSX
   331 # these compilerflags makes the app run as fast as possible without making the app unstable. It works on G3 or newer
   331 # these compilerflags makes the app run as fast as possible without making the app unstable. It works on G3 or newer
   332 BASECFLAGS += -O3 -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mdynamic-no-pic -mpowerpc-gpopt -force_cpusubtype_ALL
   332 BASECFLAGS += -O3 -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -mdynamic-no-pic -mpowerpc-gpopt -force_cpusubtype_ALL
   333 else
   333 else
   334 ifdef MORPHOS
   334 ifdef MORPHOS
   335 BASECFLAGS += -O2 -noixemul -fstrict-aliasing -fexpensive-optimizations
   335 BASECFLAGS += -I/gg/os-include -O2 -noixemul -fstrict-aliasing -fexpensive-optimizations
   336 BASECFLAGS += -mcpu=604 -fno-inline -mstring -mmultiple
   336 BASECFLAGS += -mcpu=604 -fno-inline -mstring -mmultiple
   337 else
   337 else
   338 BASECFLAGS += -O2
   338 BASECFLAGS += -O2
   339 endif
   339 endif
   340 ifndef PROFILE
   340 ifndef PROFILE
  1000 
  1000 
  1001 %.o: .deps/%.d
  1001 %.o: .deps/%.d
  1002 
  1002 
  1003 .deps/%.d: %.c $(MAKE_CONFIG) table/strings.h endian_target.h
  1003 .deps/%.d: %.c $(MAKE_CONFIG) table/strings.h endian_target.h
  1004 	@echo '===> Determining dependencies of $<'
  1004 	@echo '===> Determining dependencies of $<'
  1005 	$(Q)$(CC) $(CFLAGS) $(CDEFS) -M $< > $@
  1005 	$(Q)$(CC) $(CFLAGS) $(CDEFS) -MM $< > $@
  1006 
  1006 
  1007 .deps/%.d: %.cpp $(MAKE_CONFIG) table/strings.h endian_target.h
  1007 .deps/%.d: %.cpp $(MAKE_CONFIG) table/strings.h endian_target.h
  1008 	@echo '===> Determining dependencies of $<'
  1008 	@echo '===> Determining dependencies of $<'
  1009 	$(Q)$(CXX) $(CFLAGS) $(CDEFS) -M $< > $@
  1009 	$(Q)$(CXX) $(CFLAGS) $(CDEFS) -MM $< > $@
  1010 
  1010 
  1011 .deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h
  1011 .deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h
  1012 	@echo '===> Determining dependencies of $<'
  1012 	@echo '===> Determining dependencies of $<'
  1013 	$(Q)$(CC) $(CFLAGS) $(CDEFS) -M $< > $@
  1013 	$(Q)$(CC) $(CFLAGS) $(CDEFS) -MM $< > $@
  1014 
  1014 
  1015 
  1015 
  1016 %.o: %.c $(MAKE_CONFIG)
  1016 %.o: %.c $(MAKE_CONFIG)
  1017 	@echo '===> Compiling $<'
  1017 	@echo '===> Compiling $<'
  1018 	$(Q)$(CC) $(CFLAGS) $(CDEFS) -c -o $@ $<
  1018 	$(Q)$(CC) $(CFLAGS) $(CDEFS) -c -o $@ $<