12345678910111213141516171819202122232425262728293031323334353637383940 |
- #
- # Makefile.fpc for FPC graph demos (part of FPC demo package)
- #
- [target]
- units=gameunit
- programs=fpctris mandel samegame quad maze gravwars
- [default]
- fpcdir=../..
- [prerules]
- ifdef GRAPHICS
- override FPCOPT+=-dUSEGRAPHICS
- endif
- [rules]
- .PHONY: text gfx both
- all: graph
- clean : execlean fpc_cleanall
- execlean :
- $(DELTREE) text
- $(DELTREE) graph
- # below projects will call ourselves recursive
- text:
- $(MKDIR) text
- $(MAKE) fpc_all COMPILER_TARGETDIR=text
- graph:
- $(MKDIR) graph
- $(MAKE) fpc_all COMPILER_TARGETDIR=graph GRAPHICS=1
- both:
- $(MAKE) text
- $(MAKE) graph
|