include $(BASE)/common.mk
-all: copy_libs interfaces annotation drivers Lifxtest SmartLights Irrigation Speaker HomeSecurity
+# Compile Java
+j-all: copy_libs interfaces annotation drivers-j Lifxtest SmartLights Irrigation Speaker HomeSecurity
+
+# Compile C++
+c-all: drivers-c Lifxtest-c
PHONY += copy_libs
copy_libs:
annotation:
$(JAVAC) -d $(BIN_DIR) -classpath $(BIN_DIR):. annotation/*java
-PHONY += drivers
-drivers:
+PHONY += drivers-j
+drivers-j:
$(MAKE) -C drivers/Java
- #$(MAKE) -C drivers/Cpp
+
+PHONY += drivers-c
+drivers-c:
+ $(MAKE) -C drivers/Cpp
PHONY += Lifxtest
Lifxtest:
$(MAKE) -C Java/Lifxtest
- #$(MAKE) -C Cpp/Lifxtest
+
+PHONY += Lifxtest-c
+Lifxtest-c:
+ $(MAKE) -C Cpp/Lifxtest
PHONY += SmartLights
SmartLights: