gamnit: add the check rule to the template makefile and remove all
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 6 May 2017 13:49:19 +0000 (09:49 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sun, 7 May 2017 16:22:19 +0000 (12:22 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/gamnit/examples/template_flat/Makefile

index 25628f2..12cb2ed 100644 (file)
@@ -1,5 +1,3 @@
-all: bin/template_flat bin/template_flat.apk
-
 bin/template_flat: $(shell nitls -M src/template_flat.nit -m linux)
        mkdir -p bin/
        nitc src/template_flat.nit -m linux -o $@
@@ -9,5 +7,8 @@ bin/template_flat.apk: $(shell nitls -M src/template_flat.nit -m android)
        mkdir -p bin/
        nitc src/template_flat.nit -m android -o $@
 
+check:
+       nitunit .
+
 clean:
        rm -rf bin/