aboutsummaryrefslogtreecommitdiff
path: root/dist/build/c/rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'dist/build/c/rules.make')
-rw-r--r--dist/build/c/rules.make11
1 files changed, 11 insertions, 0 deletions
diff --git a/dist/build/c/rules.make b/dist/build/c/rules.make
new file mode 100644
index 0000000..ab0474c
--- /dev/null
+++ b/dist/build/c/rules.make
@@ -0,0 +1,11 @@
+# file : build/c/rules.make
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2006 Code Synthesis Tools CC
+# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+include $(root)/build/config.make
+
+# Rules.
+#
+%.o: %.c
+ $(CC) $(CPPFLAGS) $(EXTRA_CPPFLAGS) $(CFLAGS) -c $< -o $@