-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (21 loc) · 793 Bytes
/
Makefile
File metadata and controls
26 lines (21 loc) · 793 Bytes
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
SHELL=bash
.PHONY: echo flighttracker plugin web clean
default: echo flighttracker plugin web
echo:
@([ -z "$(ANNA_DIR)" ] && echo "WARN: not building fly-echo because \$$ANNA_DIR is not set") ||\
([ -z "$$(which javac)" ] && echo "WARN: not building fly-echo because javac is not found") ||\
(cd fly-echo && make)
flighttracker:
@([ -z "$(ANNA_DIR)" ] && echo "WARN: not building fly-flighttracker because \$$ANNA_DIR is not set") ||\
([ -z "$$(which javac)" ] && echo "WARN: not building fly-flighttracker because javac is not found") ||\
(cd fly-flighttracker && make)
plugin:
@(cd fly-plugin && . build)
web:
@(cd fly-web && make)
clean:
cd fly-echo && make clean
cd fly-flighttracker && make clean
rm -f fly-plugin/out/*
cd fly-web && make clean
rm -f server/server.cfg