Adding application for Exanh water level sensors (bord v04)
[soft/lpc82x/exanh] / v04 / Makefile
diff --git a/v04/Makefile b/v04/Makefile
new file mode 100644 (file)
index 0000000..a944f0f
--- /dev/null
@@ -0,0 +1,12 @@
+# Makefile for exanh apps
+
+MODULE = $(shell basename $(shell cd .. && pwd && cd -))
+NAME = $(shell basename $(CURDIR))
+
+.PHONY: $(NAME).bin
+$(NAME).bin:
+       @make -C ../../.. --no-print-directory NAME=$(NAME) MODULE=$(MODULE) apps/$(MODULE)/$(NAME)/$@
+
+clean mrproper:
+       @make -C ../../.. --no-print-directory $@
+