-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
23 lines (18 loc) · 948 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
./build_ios/libtodoapp.xcodeproj: libtodoapp.gyp ./deps/djinni/support-lib/support_lib.gyp todolist.djinni
sh ./run_djinni.sh
deps/gyp/gyp --depth=. -f xcode -DOS=ios --generator-output ./build_ios -Ideps/djinni/common.gypi ./libtodoapp.gyp
ios: ./build_ios/libtodoapp.xcodeproj
xcodebuild -workspace ios_project/TodoApp.xcworkspace \
-scheme TodoApp \
-configuration 'Debug' \
-sdk iphonesimulator
GypAndroid.mk: libtodoapp.gyp ./deps/djinni/support-lib/support_lib.gyp todolist.djinni
sh ./run_djinni.sh
ANDROID_BUILD_TOP=$(shell dirname `which ndk-build`) deps/gyp/gyp --depth=. -f android -DOS=android -Ideps/djinni/common.gypi ./libtodoapp.gyp --root-target=libtodoapp_jni
android: GypAndroid.mk
cd android_project/TodoApp/ && ./gradlew app:assembleDebug
@echo "Apks produced at:"
@python deps/djinni/example/glob.py ./ '*.apk'
sqlite: ./build_ios/libtodoapp.xcodeproj
clean:
rm -rf ./build_ios ./generated-src .*~ src/.*~