summaryrefslogblamecommitdiff
path: root/src/tool/Makefile.in
blob: 277ff4c68bf95bb9b1a9b262f1f43a98da92ed92 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


          










                                                                     


                                                                 

      
                                                                                                     










                                                                                        


                  
@SET_MAKE@

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

all: adduser convert mapcache

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

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

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

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

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

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

obj:
	-mkdir obj