forked from hetelek/Velocity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (29 loc) · 784 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
QMAKE = qmake-qt4
UNAME = $(shell uname -s)
ifeq ($(UNAME), Linux)
OS = Linux
else ifeq ($(UNAME), Darwin)
OS = OSX
else
OS = Windows
endif
all: debug
libXboxInternals: XboxInternals/
$(QMAKE) XboxInternals/XboxInternals.pro -o XboxInternals/Makefile CONFIG+=$(CONFIG)
make -C XboxInternals
mkdir -p XboxInternals-$(OS)/$(CONFIG)
cp XboxInternals/libXboxInternals.* XboxInternals-$(OS)/$(CONFIG)
velocity: Velocity/
$(QMAKE) Velocity/Velocity.pro -o Velocity/Makefile CONFIG+=$(CONFIG)
make -C Velocity
modules: libXboxInternals velocity
debug: CONFIG = debug
debug: modules
release: CONFIG = release
release: modules
clean:
make clean -C XboxInternals
rm -f XboxInternals/libXboxInternals.*
make clean -C Velocity
rm -f Velocity/Velocity
rm -rf XboxInternals-*