-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
54 lines (38 loc) · 1.03 KB
/
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
53
54
#
# Szene makefile for GNU-make
#
.PHONY: expat grx plush depui scene
EXE=PlushPlayer/PlushPlayer MatEdit/Matedit
ifdef DEBUG
DEBUGFLAG = DEBUG=1
endif
# Rules
all: lib exe
expat:
$(MAKE) $(DEBUGFLAG) -C expat
grx:
$(MAKE) $(DEBUGFLAG) -C contrib/grx248 -f makefile.x11 libs
plush:
$(MAKE) $(DEBUGFLAG) -C plush/src
depui:
$(MAKE) $(DEBUGFLAG) -C depui lib
scene:
$(MAKE) $(DEBUGFLAG) -C Scene all
MatEdit/Matedit: lib
$(MAKE) $(DEBUGFLAG) -C MatEdit
PlushPlayer/PlushPlayer: lib
$(MAKE) $(DEBUGFLAG) -C PlushPlayer
clean:
$(MAKE) $(DEBUGFLAG) -C expat clean
$(MAKE) $(DEBUGFLAG) -C plush/src clean
$(MAKE) $(DEBUGFLAG) -C contrib/grx248 -f makefile.x11 clean
$(MAKE) $(DEBUGFLAG) -C depui clean
$(MAKE) $(DEBUGFLAG) -C Scene clean
$(MAKE) $(DEBUGFLAG) -C MatEdit clean
$(MAKE) $(DEBUGFLAG) -C PlushPlayer clean
install:
cp PlushPlayer/PlushPlayer PlushPlayer-MatEdit
cp MatEdit/MatEdit PlushPlayer-MatEdit
# Dependencies
exe: $(EXE) lib
lib: expat grx plush depui scene