Makefile.fpc 626 B

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Makefile.fpc for Free Pascal libgbafpc 2.x.y Examples
  3. #
  4. [target]
  5. loaders=data/ScoutSplash.pcx data/tune.bgf
  6. programs=PlayBoyScout
  7. [require]
  8. packages=libgbafpc
  9. tools=bin2s
  10. [install]
  11. fpcpackage=y
  12. [default]
  13. cpu=arm
  14. target=gba
  15. fpcdir=../../../../..
  16. [clean]
  17. files=*.elf data/*.o data/*.s
  18. units=*
  19. [prerules]
  20. [rules]
  21. .NOTPARALLEL:
  22. ifneq ($(BIN2S),)
  23. data/ScoutSplash.pcx.o:
  24. $(BIN2S) data/ScoutSplash.pcx > data/ScoutSplash.pcx.s
  25. $(AS) -o data/ScoutSplash.pcx.o data/ScoutSplash.pcx.s
  26. data/tune.bgf.o:
  27. $(BIN2S) data/tune.bgf > data/tune.bgf.s
  28. $(AS) -o data/tune.bgf.o data/tune.bgf.s
  29. endif