diff options
| author | Legolas <Legolas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2009-05-31 12:15:24 +0000 |
|---|---|---|
| committer | Legolas <Legolas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2009-05-31 12:15:24 +0000 |
| commit | f803d950d1e95ecefe2fbe8fac65331ddfbd264c (patch) | |
| tree | 69273c288fa395af5b38ab6aab26b61ae95fa9b2 /packages/libndsfpc/examples/debugging/exceptionTest/Makefile.fpc | |
| parent | e4116efa7a366ee63355627bcdff3974fc6e4628 (diff) | |
| download | fpc-f803d950d1e95ecefe2fbe8fac65331ddfbd264c.tar.gz | |
* updated nds/gba linker scripts and reverted some changes for 2.2.4a release
- Removed unused/outdated stuff from libndsfpc
+ Added new examples for libndsfpc
+ Added working (I hope so...) makefile.fpc for all libndsfpc/libgbafpc examples
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@13217 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/libndsfpc/examples/debugging/exceptionTest/Makefile.fpc')
| -rw-r--r-- | packages/libndsfpc/examples/debugging/exceptionTest/Makefile.fpc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/libndsfpc/examples/debugging/exceptionTest/Makefile.fpc b/packages/libndsfpc/examples/debugging/exceptionTest/Makefile.fpc new file mode 100644 index 0000000000..6b8d6e437b --- /dev/null +++ b/packages/libndsfpc/examples/debugging/exceptionTest/Makefile.fpc @@ -0,0 +1,46 @@ +# +# Makefile.fpc for Free Pascal libndsfpc 2.x.y Examples +# + +[target] +loaders= +programs=exceptionTest + +[require] +packages=libndsfpc +tools=bin2s mmutil grit +nortl=y + +[install] +fpcpackage=y + +[default] +cpu=arm +target=nds +fpcdir=../../../../.. + +[clean] +files=*.elf *.o *.s *.nds *.nef *.h *.bin \ + $(BUILD)/* +units=* + +[prerules] +BUILD = build +AUDIO_FILES = $(foreach dir,$(notdir $(wildcard audio/*.*)),$(CURDIR)/audio/$(dir)) +GFX_FILES = $(foreach dir,gfx,$(notdir $(wildcard $(dir)/*.png))) + +[rules] +.NOTPARALLEL: +all: direc fpc_all +direc: +ifneq ($(BUILD), $(CURDIR)) + $(MKDIR) $(BUILD) +endif +soundbank.bin.o : $(AUDIO_FILES) + @$(MMUTIL) $^ -d -o$(BUILD)/soundbank.bin -h$(BUILD)/soundbank.h + $(BIN2S) $(BUILD)/soundbank.bin > $(BUILD)/soundbank.bin.s + $(AS) -o $(BUILD)/soundbank.bin.o $(BUILD)/soundbank.bin.s + +$(GFX_FILES).o: + $(GRIT) gfx/$(GFX_FILES) -fts -ff gfx/$(basename $(GFX_FILES)).grit -o$(BUILD)/$(GFX_FILES) + $(AS) -o $(BUILD)/$(basename $(GFX_FILES)).o $(BUILD)/$(basename $(GFX_FILES)).s |
