summaryrefslogblamecommitdiff
path: root/src/tool/Makefile.in
blob: f1d688a7d9a54af3c39f70859974842496e30968 (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_mapcache
	@CC@ -c -o obj_mapcache/grfio.o grfio.c
	@CC@ -o ../../mapcache@EXEEXT@ mapcache.c obj_mapcache/grfio.o -lz

clean:
	rm -rf *.o obj_mapcache ../../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_mapcache:
	-mkdir obj_mapcache