diff options
author | tron <tron@openttd.org> | 2005-08-21 10:44:57 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-21 10:44:57 +0000 |
commit | 4a1f46a99a1bb25eb382eb3dfc6a336d56fb1811 (patch) | |
tree | 658a8bba83a433752f0921d9e9d978c6da8f78a3 | |
parent | 1c686229af6e505657573dbc3f7ed18a1e7459e4 (diff) | |
download | openttd-4a1f46a99a1bb25eb382eb3dfc6a336d56fb1811.tar.xz |
(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
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r--[-rwxr-xr-x] | os/morphos/icons/OpenTTD.info | bin | 8110 -> 7341 bytes | |||
-rw-r--r--[-rwxr-xr-x] | os/morphos/icons/docs.info | bin | 5390 -> 5390 bytes | |||
-rw-r--r--[-rwxr-xr-x] | os/morphos/icons/drawer.info | bin | 5390 -> 5390 bytes | |||
-rw-r--r-- | unix.c | 4 |
5 files changed, 8 insertions, 4 deletions
@@ -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) diff --git a/os/morphos/icons/OpenTTD.info b/os/morphos/icons/OpenTTD.info Binary files differindex fd6cafa49..3a25be683 100755..100644 --- a/os/morphos/icons/OpenTTD.info +++ b/os/morphos/icons/OpenTTD.info diff --git a/os/morphos/icons/docs.info b/os/morphos/icons/docs.info Binary files differindex 6f8ac00f2..6f8ac00f2 100755..100644 --- a/os/morphos/icons/docs.info +++ b/os/morphos/icons/docs.info diff --git a/os/morphos/icons/drawer.info b/os/morphos/icons/drawer.info Binary files differindex 149ef7e10..149ef7e10 100755..100644 --- a/os/morphos/icons/drawer.info +++ b/os/morphos/icons/drawer.info @@ -31,6 +31,10 @@ #ifdef __MORPHOS__ #include <exec/types.h> ULONG __stack = (1024*1024)*2; // maybe not that much is needed actually ;) + +// The system supplied definition of SIG_IGN does not match +#undef SIG_IGN +#define SIG_IGN (void (*)(int))1 #endif /* __MORPHOS__ */ #ifdef __AMIGA__ |