Adding Java Checker Framework to flag error when java.net and java.lang.reflect libra...
[iot2.git] / checker / Makefile
diff --git a/checker/Makefile b/checker/Makefile
new file mode 100644 (file)
index 0000000..e2e429c
--- /dev/null
@@ -0,0 +1,13 @@
+BASE := ..
+
+include $(BASE)/common.mk
+
+all: checker
+
+PHONY += checker
+
+checker:
+       $(JAVAC) -d  $(BASE)/bin -classpath .:$(BASE)/bin:$(CHECKERJARS) iotchecker/*.java
+       cp iotchecker/messages.properties $(BASE)/bin/iotchecker
+
+.PHONY: $(PHONY)