gamnit: add the check rule to the template makefile and remove all
[nit.git] / 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/