(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
This commit is contained in:
tron 2005-08-21 10:44:57 +00:00
parent 1c686229af
commit 4a1f46a99a
5 changed files with 8 additions and 4 deletions

View File

@ -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)

BIN
os/morphos/icons/OpenTTD.info Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

0
os/morphos/icons/docs.info Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

0
os/morphos/icons/drawer.info Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

4
unix.c
View File

@ -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__