From 4a1f46a99a1bb25eb382eb3dfc6a336d56fb1811 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 21 Aug 2005 10:44:57 +0000 Subject: (svn r2882) Some fixes for MorphOS (by tokai) - Don't track dependencies on system headers - Add an include path - Silence a warning regarding a bad signal prototype - Remove executable flag from pictures - Add proper OTTD icon --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 731330fd8..9f298c38c 100644 --- a/Makefile +++ b/Makefile @@ -332,7 +332,7 @@ ifdef OSX 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 else ifdef MORPHOS -BASECFLAGS += -O2 -noixemul -fstrict-aliasing -fexpensive-optimizations +BASECFLAGS += -I/gg/os-include -O2 -noixemul -fstrict-aliasing -fexpensive-optimizations BASECFLAGS += -mcpu=604 -fno-inline -mstring -mmultiple else BASECFLAGS += -O2 @@ -1002,15 +1002,15 @@ endif .deps/%.d: %.c $(MAKE_CONFIG) table/strings.h endian_target.h @echo '===> Determining dependencies of $<' - $(Q)$(CC) $(CFLAGS) $(CDEFS) -M $< > $@ + $(Q)$(CC) $(CFLAGS) $(CDEFS) -MM $< > $@ .deps/%.d: %.cpp $(MAKE_CONFIG) table/strings.h endian_target.h @echo '===> Determining dependencies of $<' - $(Q)$(CXX) $(CFLAGS) $(CDEFS) -M $< > $@ + $(Q)$(CXX) $(CFLAGS) $(CDEFS) -MM $< > $@ .deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h @echo '===> Determining dependencies of $<' - $(Q)$(CC) $(CFLAGS) $(CDEFS) -M $< > $@ + $(Q)$(CC) $(CFLAGS) $(CDEFS) -MM $< > $@ %.o: %.c $(MAKE_CONFIG) -- cgit v1.2.3-70-g09d2