diff options
author | Peter Moraliyski | 2002-12-02 16:58:41 +0000 |
---|---|---|
committer | Peter Moraliyski | 2002-12-02 16:58:41 +0000 |
commit | 31dec80d39a0cd7965eed3b583d253ddfc574cf2 (patch) | |
tree | 3e9a037a5b0fb4853ec46cc14293cf204cba17fb /backends/gp32/build.rules | |
parent | d31fb515f1404c71ab2f43ba2a5f1f8b538053e6 (diff) | |
download | scummvm-rg350-31dec80d39a0cd7965eed3b583d253ddfc574cf2.tar.gz scummvm-rg350-31dec80d39a0cd7965eed3b583d253ddfc574cf2.tar.bz2 scummvm-rg350-31dec80d39a0cd7965eed3b583d253ddfc574cf2.zip |
*** empty log message ***
svn-id: r5815
Diffstat (limited to 'backends/gp32/build.rules')
-rw-r--r-- | backends/gp32/build.rules | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/backends/gp32/build.rules b/backends/gp32/build.rules new file mode 100644 index 0000000000..4c94b34a61 --- /dev/null +++ b/backends/gp32/build.rules @@ -0,0 +1,35 @@ +# Makefile for GP32 development using devkitadv under Win32 +# Written 2002 by Christian Nowak <chnowak@web.de> +# Modified by ph0x (ph0x@freemail.hu) + +# devkitadv base dir +CCBASE=c:/devkitadv + +CXX = $(CCBASE)/bin/g++ +CFLAGS = -mcpu=arm9tdmi \ + -mtune=arm9tdmi \ + -mapcs \ + -O2 \ + -fomit-frame-pointer \ + -finline-functions \ + -fno-exceptions \ + -fno-common \ + -fno-builtin \ + -fshort-enums \ + -ffast-math \ + -fshort-double \ + -fallow-single-precision \ + -ffreestanding \ + -fexpensive-optimizations \ + -mstructure-size-boundary=32 \ + -mno-thumb-interwork \ + -I$(CCBASE)/arm-agb-elf/include/gp32 \ + -Wno-multichar + +DEFINES = -D__GP32__ -DNONSTANDARD_PORT +LNKSCRIPT =$(CCBASE)/arm-agb-elf/lib/lnkscript +LDFLAGS = -Wl,-T $(LNKSCRIPT) +LIBS += -lgpgraphic -lgpmem -lgpos -lgpstdlib -lgpstdio -lgpsound -lgpfont +INCLUDES += -Ibackends/gp32 +MODULES += backends/gp32 +OBJS += $(CCBASE)/arm-agb-elf/lib/gpstart/gpstart.o backends/gp32/gp32.o
\ No newline at end of file |