aboutsummaryrefslogtreecommitdiff
path: root/include/00.build/C_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'include/00.build/C_Makefile')
-rw-r--r--include/00.build/C_Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/00.build/C_Makefile b/include/00.build/C_Makefile
new file mode 100644
index 0000000..b8fe609
--- /dev/null
+++ b/include/00.build/C_Makefile
@@ -0,0 +1,8 @@
+.PHONY: all
+
+all: $(C_OBJECTS)
+
+$(C_OBJECT_DIR)/%.o: %.c Makefile
+ $(CC) $(CFLAGS) -MD -MP -c $< -o $@
+
+-include $(C_OBJECTS:.o=.d)