aboutsummaryrefslogtreecommitdiff
path: root/dist/build/c/rules.nmake
diff options
context:
space:
mode:
Diffstat (limited to 'dist/build/c/rules.nmake')
-rw-r--r--dist/build/c/rules.nmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/dist/build/c/rules.nmake b/dist/build/c/rules.nmake
new file mode 100644
index 0000000..4c9f7be
--- /dev/null
+++ b/dist/build/c/rules.nmake
@@ -0,0 +1,13 @@
+# file : build/c/rules.nmake
+# 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.nmake
+
+# Rules.
+#
+.SUFFIXES: .c .obj
+
+.c.obj:
+ $(CC) $(CPPFLAGS) $(EXTRA_CPPFLAGS) $(CFLAGS) /c $< /Fo$@