-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·52 lines (46 loc) · 912 Bytes
/
Makefile
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
51
52
include Makefile.global
all:
@make -C src
@make -C mapeditor
@make -C extra
@make -C doc
@make -C gfx
@make -C maps
@make -C snd
clean:
rm -f oki
rm -f oki_bash
rm -f oki_me
rm -f core.*
@make -C src clean
@make -C mapeditor clean
@make -C extra clean
@make -C doc clean
@make -C gfx clean
@make -C maps clean
@make -C snd clean
@make -C js clean
install:
mkdir -p $(WORKDIR)
@make -C src install
@make -C mapeditor install
@make -C extra install
@make -C doc install
@make -C gfx install
@make -C maps install
@make -C snd install
cp -f oki $(WORKDIR)
cp -f oki_me $(WORKDIR)
cp -f COPYING $(WORKDIR)
cp -f README $(WORKDIR)
mkdir -p $(PREFIX)/share/pixmaps
cp -f gfx/oki40.png $(PREFIX)/share/pixmaps/oki.png
uninstall:
rm -f $(PREFIX)/bin/oki
rm -rf $(WORKDIR)
mrproper: clean
rm -f Makefile.global
rm -f extra/oki_bash
mv Makefile Makefile.in
webapp:
@make -C js