summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-08-31 17:52:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-08-31 17:52:13 (GMT)
commit8300505ecec8eb408d9ee6e62149c3c03714e55e (patch)
tree916b3525629a20b8c85c9cf41d7fe964c055d197
parente06a538a30cda12672c76775d1dc9d78a9ca0913 (diff)
downloadCMake-8300505ecec8eb408d9ee6e62149c3c03714e55e.zip
CMake-8300505ecec8eb408d9ee6e62149c3c03714e55e.tar.gz
CMake-8300505ecec8eb408d9ee6e62149c3c03714e55e.tar.bz2
ENH: fix for Sgi make
-rw-r--r--CMakeSimpleRules.make15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeSimpleRules.make b/CMakeSimpleRules.make
new file mode 100644
index 0000000..cb95e29
--- /dev/null
+++ b/CMakeSimpleRules.make
@@ -0,0 +1,15 @@
+# this file contains the most basic rules. This is used
+# in the CMake/Source/Makefile.in to avoid infinite recursion
+# in the rule for all:
+
+# set up make suffixes
+
+.SUFFIXES: .cxx .java .class
+
+#------------------------------------------------------------------------------
+# rules for building .o files from source files
+
+.c.o:
+ ${CC} ${CC_FLAGS} -c $< -o $@
+.cxx.o:
+ ${CXX} ${CXX_FLAGS} -c $< -o $@