Makefile.fpc 812 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #
  2. # Makefile.fpc for Free Pascal Compiler Utils
  3. #
  4. [target]
  5. programs=fpc ppufiles ppudump ppumove fpcsubst fpcmkcfg
  6. rst=fpcmkcfg fpcsubst
  7. [clean]
  8. units=ppu crc usubst
  9. [compiler]
  10. unitdir=..
  11. sourcedir=..
  12. [install]
  13. fpcpackage=y
  14. [require]
  15. tools=data2inc
  16. [default]
  17. fpcdir=../..
  18. [rules]
  19. #
  20. # PPU Tools
  21. #
  22. ppu$(PPUEXT): ppu.pas
  23. ppufiles$(EXEEXT): ppufiles.pp ppu$(PPUEXT)
  24. ppudump$(EXEEXT): ppudump.pp ppu$(PPUEXT)
  25. ppumove$(EXEEXT): ppumove.pp ppu$(PPUEXT)
  26. fpcsubst$(EXEEXT): fpcsubst.pp usubst.pp
  27. fpcmkcfg$(EXEEXT): fpcmkcfg.pp usubst.pp fpccfg.inc
  28. ifneq ($(DATA2INC),)
  29. fpccfg.inc: fpc.cft
  30. $(DATA2INC) -b -s fpc.cft fpccfg.inc DefaultConfig
  31. endif
  32. #
  33. # Don't export some tools, which are found in the current dir if it's in
  34. # the path, so are not valid for the subdirs
  35. #
  36. unexport PPUFILES PPUMOVE