forked from Uga-Agga/Game
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (37 loc) · 867 Bytes
/
Makefile
File metadata and controls
50 lines (37 loc) · 867 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# makefile for ugaagga
# programs
DISTCLEAN = config.cache config.log config.status src/Makefile \
src/dbs/db-util src/ticker/ticker.conf src/utilities/crontab \
src/utilities/db_backup.cron src/utilities/util.inc.php \
src/game/include/config.inc.php src/www/config.inc.php
SHELL = /bin/sh
# default target
all:
cd src && $(MAKE) $@
# install files
install-db:
cd src && $(MAKE) $@
install-game:
cd src && $(MAKE) $@
install-phpext:
cd src && $(MAKE) $@
install-ticker:
cd src && $(MAKE) $@
# uninstall files
uninstall-db:
cd src && $(MAKE) $@
uninstall-game:
cd src && $(MAKE) $@
uninstall-phpext:
cd src && $(MAKE) $@
uninstall-ticker:
cd src && $(MAKE) $@
# clean up
clean:
cd src && $(MAKE) $@
doit:
cd src && $(MAKE) install-game
cd src && $(MAKE) install-ticker
killall ticker
distclean: clean
rm -f $(DISTCLEAN)