forked from blackberry/Cascades-Community-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·34 lines (22 loc) · 803 Bytes
/
Makefile
File metadata and controls
executable file
·34 lines (22 loc) · 803 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
QMAKE_TARGET = HelloOggVorbis
QMAKE = $(QNX_HOST)/usr/bin/qmake
TARGET = $(QMAKE_TARGET)
all: Makefile $(QMAKE_TARGET)
clean:
$(MAKE) -C ./arm -f Makefile distclean
$(MAKE) -C ./x86 -f Makefile distclean
Makefile: FORCE
$(QMAKE) -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile $(QMAKE_TARGET).pro CONFIG+=device
$(QMAKE) -spec unsupported/blackberry-x86-g++ -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