From 5f213a93adb1f91b63a2af156cd7017566ce8d22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Thu, 9 Nov 2017 08:44:02 -0500 Subject: [PATCH] app.nit examples: fix dependencies by adding the missing -m to nitls calls MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/tnitter/Makefile | 6 +++--- examples/calculator/Makefile | 12 ++++++------ lib/app/examples/Makefile | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/contrib/tnitter/Makefile b/contrib/tnitter/Makefile index 470b2b0..2dd9152 100644 --- a/contrib/tnitter/Makefile +++ b/contrib/tnitter/Makefile @@ -6,7 +6,7 @@ bin/tnitter_server: $(shell nitls -M src/tnitter.nit) mkdir -p bin/ nitc -o bin/tnitter_server src/tnitter.nit -D tnitter_interface=$(SERVER) -bin/tnitter: $(shell nitls -M src/tnitter_app.nit) +bin/tnitter: $(shell nitls -M src/tnitter_app.nit -m linux) mkdir -p bin/ nitc -o bin/tnitter src/tnitter_app.nit -m linux -D tnitter_server_uri=http://$(SERVER) @@ -30,11 +30,11 @@ android/res/: art/icon.svg # iOS ios: bin/tnitter.app -bin/tnitter.app: $(shell nitls -M src/tnitter_app.nit ios) ios/AppIcon.appiconset/Contents.json +bin/tnitter.app: $(shell nitls -M src/tnitter_app.nit -m ios) ios/AppIcon.appiconset/Contents.json mkdir -p bin/ nitc -o bin/tnitter.app src/tnitter_app.nit -m ios -D tnitter_server_uri=http://$(SERVER) -ios-release: $(shell nitls -M src/tnitter_app.nit ios) ios/AppIcon.appiconset/Contents.json +ios-release: $(shell nitls -M src/tnitter_app.nit -m ios) ios/AppIcon.appiconset/Contents.json mkdir -p bin/ nitc -o bin/tnitter.app src/tnitter_app.nit -m ios -D tnitter_server_uri=http://tnitter.xymus.net diff --git a/examples/calculator/Makefile b/examples/calculator/Makefile index d620cb8..42faf95 100644 --- a/examples/calculator/Makefile +++ b/examples/calculator/Makefile @@ -3,11 +3,11 @@ NITLS=../../bin/nitls all: bin/calculator bin/test -bin/calculator: $(shell ${NITLS} -M src/calculator.nit linux) ${NITC} +bin/calculator: $(shell ${NITLS} -M src/calculator.nit -m linux) ${NITC} mkdir -p bin ${NITC} -o $@ src/calculator.nit -m linux -bin/scientific: $(shell ${NITLS} -M scientific linux) ${NITC} +bin/scientific: $(shell ${NITLS} -M scientific -m linux) ${NITC} mkdir -p bin ${NITC} -o $@ src/scientific -m linux @@ -28,15 +28,15 @@ bin/calculator21.apk: $(shell ${NITLS} -M src/android21) ${NITC} android/res/dra mkdir -p bin ${NITC} -o $@ src/android21 -D debug -bin/scientific14.apk: $(shell ${NITLS} -M src/scientific src/android14.nit) ${NITC} src/scientific/android/res/drawable-hdpi/icon.png +bin/scientific14.apk: $(shell ${NITLS} -M src/scientific -m src/android14.nit) ${NITC} src/scientific/android/res/drawable-hdpi/icon.png mkdir -p bin ${NITC} -o $@ src/scientific -m src/android14.nit -D debug -bin/scientific21.apk: $(shell ${NITLS} -M src/scientific src/android21) ${NITC} src/scientific/android/res/drawable-hdpi/icon.png +bin/scientific21.apk: $(shell ${NITLS} -M src/scientific -m src/android21) ${NITC} src/scientific/android/res/drawable-hdpi/icon.png mkdir -p bin ${NITC} -o $@ src/scientific -m src/android21 -D debug -android-release: $(shell ${NITLS} -M src/scientific src/android14.nit) ${NITC} android/res/drawable-hdpi/icon.png +android-release: $(shell ${NITLS} -M src/scientific -m src/android14.nit) ${NITC} android/res/drawable-hdpi/icon.png mkdir -p bin ${NITC} -o bin/calculator14.apk src/android14.nit --release ${NITC} -o bin/calculator21.apk src/android21 --release @@ -66,7 +66,7 @@ bin/calculator.app: $(shell ${NITLS} -M src/ios.nit) ${NITC} ios/AppIcon.appicon mkdir -p bin ${NITC} -o $@ src/ios.nit -D debug -bin/scientific.app: $(shell ${NITLS} -M src/scientific src/ios.nit) ${NITC} src/scientific/ios/AppIcon.appiconset/Contents.json +bin/scientific.app: $(shell ${NITLS} -M src/scientific -m src/ios.nit) ${NITC} src/scientific/ios/AppIcon.appiconset/Contents.json mkdir -p bin ${NITC} -o $@ src/scientific -m src/ios.nit -D debug diff --git a/lib/app/examples/Makefile b/lib/app/examples/Makefile index 2dfc094..946b7a5 100644 --- a/lib/app/examples/Makefile +++ b/lib/app/examples/Makefile @@ -4,22 +4,22 @@ android: http_request_example.apk ui_example.apk ios: http_request_example.app ui_example.app -http_request_example: $(shell nitls -M http_request_example.nit linux) +http_request_example: $(shell nitls -M http_request_example.nit -m linux) nitc http_request_example.nit -m linux -http_request_example.apk: $(shell nitls -M http_request_example.nit android) +http_request_example.apk: $(shell nitls -M http_request_example.nit -m android) nitc http_request_example.nit -m android -http_request_example.app: $(shell nitls -M http_request_example.nit ios) +http_request_example.app: $(shell nitls -M http_request_example.nit -m ios) nitc http_request_example.nit -m ios -ui_example: $(shell nitls -M ui_example.nit linux) +ui_example: $(shell nitls -M ui_example.nit -m linux) nitc ui_example.nit -m linux -ui_example.apk: $(shell nitls -M ui_example.nit android) +ui_example.apk: $(shell nitls -M ui_example.nit -m android) nitc ui_example.nit -m android -ui_example.app: $(shell nitls -M ui_example.nit ios) +ui_example.app: $(shell nitls -M ui_example.nit -m ios) nitc ui_example.nit -m ios clean: -- 1.7.9.5