-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 770 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 770 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
####
## Makefile for openpst/streaming-dload
####
QMAKE=qmake
all: default
default: check debug release
debug: check _debug
release: check _release
check:
if [ ! -d "./build" ]; then mkdir -p build; fi
if [ ! -d "./lib/libopenpst/include" ] || [ ! -d "./lib/gui-common/include" ]; then git submodule init && git submodule update; fi
if [ ! -d "./lib/libopenpst/lib/serial/include" ]; then cd ./lib/libopenpst/ && git submodule init && git submodule update; fi
_debug:
$(QMAKE) -makefile -o ./build/Makefile streaming_dload.pro "CONFIG+=debug" "CONFIG-=release"
$(MAKE) -C build
_release:
$(QMAKE) -makefile -o ./build/Makefile streaming_dload.pro "CONFIG+=release" "CONFIG-=debug"
$(MAKE) -C build
clean:
rm -rf build/*
rm -rf lib/libopenpst/build/*