summaryrefslogtreecommitdiff
path: root/src/tool/Makefile.in
blob: 7c0d1e1ee6890c56c8f5541992a9ea017f0dc3cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#####################################################################
.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:
	@CC@ -c -o grfio.o grfio.c
	@CC@ -o ../../mapcache@EXEEXT@ mapcache.c grfio.o -lz

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

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