]> git.mxchange.org Git - flightgear.git/blob - src/NetworkOLK/Tools/Makefile
Added write-all parameter to save command. If set to true, the
[flightgear.git] / src / NetworkOLK / Tools / Makefile
1 CPPFLAGS        =
2 CFLAGS          =
3 CC              = gcc
4 RM              = rm
5 PROGS           = fgd fgd_scan fgd_com fgd_mcp fgd_silent
6 BINDIR          = /usr/local/bin
7
8 all: $(PROGS)
9
10 fgd:      fgd.c
11           $(CC) -o $@ $^
12
13 fgd_silent: fgd_silent.c
14           $(CC) -o $@ $^
15
16 fgd_scan: fgd_scan.c
17           $(CC) -o $@ $^
18
19 fgd_com:  fgd_com.c
20           $(CC) -o $@ $^
21
22 fgd_mcp:  fgd_mcp.c
23           $(CC) -o $@ $^
24
25 clean:
26         -$(RM) -f *.o $(PROGS) *~ core
27
28 install: all
29         install $(PROGS) $(BINDIR)
30         
31 dist:   clean
32         tar czf ../`basename \`pwd\``.tar.gz -C .. `basename \`pwd\``