1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #
- # Makefile.fpc for FPC graph demos (part of FPC demo package)
- #
- [targets]
- units=gameunit
- programs=fpctris mandel samegame quad maze gravwars
- [require]
- packages=api
- [install]
- packagename=demo
- [dirs]
- fpcdir=../..
- targetdir=.
- [postsettings]
- ifdef GRAPHICS
- override FPCOPT+=-dUSEGRAPHICS
- endif
- [rules]
- .PHONY: text gfx both
- all: both
- clean : execlean fpc_cleanall
- execlean :
- $(DELTREE) text
- $(DELTREE) graph
- # below projects will call ourselves recursive
- text:
- $(MKDIR) text
- $(MAKE) fpc_all TARGETDIR=text
- graph:
- $(MKDIR) graph
- $(MAKE) fpc_all TARGETDIR=graph GRAPHICS=1
- both:
- $(MAKE) text
- $(MAKE) graph
|