default :
	@echo No target specified. Valid targets are:
	@echo.
	@echo resources - Build the .prc file from the .rcp file
	@echo zipfile - Make a ZIP file of the source code and resources
	@echo tarball - Make a TAR file of the source code and resources
	@echo clean - Clean up temporary files

resources :
	c:\pilrc\pilrc.exe DieRoller.rcp	
	c:\utils\build-prc.exe --output DieRollerRsrc.prc --type "rsrc" --creator "diE#" --name DieRoller --version-number 1.5.5 *.bin

dist : 
	make zipfile tarball zipfile-nosrc tarball-nosrc

zipfile-nosrc : 
	c:\utils\pkzip25.exe -add DieRoller.zip DieRoller.prc Readme.txt

zipfile : 
	c:\utils\pkzip25.exe -add DieRollerSrc.zip *.bmp *.rcp *.txt *.rcp *.prc Makefile
	
tarball :
	c:\cygwin\bin\tar.exe -cvf DieRollerSrc.tar *.bmp *.rcp *.txt *.rcp *.prc Makefile
	c:\cygwin\bin\gzip.exe DieRollerSrc.tar

tarball-nosrc :
	c:\cygwin\bin\tar.exe -cvf DieRoller.tar DieRoller.prc Readme.txt
	c:\cygwin\bin\gzip.exe DieRoller.tar

clean : 
	c:\utils\rm  -f *.bin *.res *.asm DieRoller*.tar DieRoller*.zip

