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


          
                                                                     
                                        
 
                     



                                                     


                                                                          

      
                                                                                  

     
                                                                              
                                 





                                                                     
 

                           
@SET_MAKE@

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

all: adduser mapcache

adduser:
	@CC@ -o ../../tools/adduser@EXEEXT@ adduser.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@ ../../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"

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

obj_mapcache:
	-mkdir obj_mapcache