Usermode - Working on new build/makefile system
[tpg/acess2.git] / Usermode / body.mk
diff --git a/Usermode/body.mk b/Usermode/body.mk
new file mode 100644 (file)
index 0000000..83a7b81
--- /dev/null
@@ -0,0 +1,14 @@
+
+OBJ := $(call fcn_src2obj,$(SRCS))
+ALL_OBJ := $(ALL_OBJ) $(OBJ)
+OBJ-$(DIR) := $(OBJ)
+BIN-$(DIR) := $(BIN)
+
+# Rules
+.PHONY: all-$(DIR) clean-$(DIR)
+all-$(DIR): $(BIN)
+clean-$(DIR): clean-%: 
+       $(eval BIN=$(BIN-$*/))
+       $(eval OBJ=$(OBJ-$*/))
+       $(RM) $(BIN) $(OBJ)
+

UCC git Repository :: git.ucc.asn.au