@SET_MAKE@

#####################################################################
.PHONY : all adduser mapcache clean help

all: adduser mapcache

adduser:
	@CC@ -o ../../tools/adduser@EXEEXT@ adduser.c

mapcache:
	@CC@ -o ../../mapcache@EXEEXT@ mapcache.c grfio.c -lz

clean:
	rm -rf *.o ../../tools/adduser@EXEEXT@ ../../mapcache@EXEEXT@

help:
	@echo "possible targets are 'adduser' 'mapcache' 'all' 'clean' 'help'"
	@echo "'adduser'   - ???"
	@echo "'mapcache'  - mapcache generator"
	@echo "'all'       - builds all above targets"
	@echo "'clean'     - cleans builds and objects"
	@echo "'help'      - outputs this message"

#####################################################################