forked from BGmot/BGShellBB10
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (32 loc) · 1.22 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
QMAKE_TARGET = BGShellBB10
QMAKE = $(QNX_HOST)/usr/bin/qmake
TARGET = $(QMAKE_TARGET)
all: Makefile $(QMAKE_TARGET)
Simulator-Debug.bar: Simulator-Debug
blackberry-nativepackager -devMode -package $@ bar-descriptor.xml -configuration Simulator-Debug
Device-Debug.bar: Device-Debug
blackberry-nativepackager -devMode -package $@ bar-descriptor.xml -configuration Device-Debug
Device-Release.bar: Device-Release
blackberry-nativepackager -package $@ bar-descriptor.xml -configuration Device-Release
clean:
$(MAKE) -C ./arm -f Makefile sureclean
$(MAKE) -C ./x86 -f Makefile sureclean
$(RM) ./x86/o/.obj/*
$(RM) ./x86/o-g/.obj/*
$(RM) ./arm/o.le-v7/.obj/*
$(RM) ./arm/o.le-v7-g/.obj/*
Makefile: FORCE
$(QMAKE) -spec unsupported/blackberry-armv7le-qcc -o arm/Makefile $(QMAKE_TARGET).pro CONFIG+=device
$(QMAKE) -spec unsupported/blackberry-x86-qcc -o x86/Makefile $(QMAKE_TARGET).pro CONFIG+=simulator
FORCE:
$(QMAKE_TARGET): device simulator
device:
$(MAKE) -C ./arm -f Makefile all
Device-Debug: Makefile
$(MAKE) -C ./arm -f Makefile debug
Device-Release: Makefile
$(MAKE) -C ./arm -f Makefile release
simulator:
$(MAKE) -C ./x86 -f Makefile all
Simulator-Debug: Makefile
$(MAKE) -C ./x86 -f Makefile debug