summaryrefslogtreecommitdiffstats
path: root/CMakeSimpleRules.make.in
diff options
context:
space:
mode:
authorWill Schroeder <will.schroeder@kitware.com>2001-01-18 16:51:45 (GMT)
committerWill Schroeder <will.schroeder@kitware.com>2001-01-18 16:51:45 (GMT)
commit0283c37c76391bb7d6ff95970358eacc41a0e98a (patch)
treee6bd7cb18c484184102ca051bf638b32830350d9 /CMakeSimpleRules.make.in
parent658614ff6a14411e2a697fac1f1717a7f4370bf0 (diff)
downloadCMake-0283c37c76391bb7d6ff95970358eacc41a0e98a.zip
CMake-0283c37c76391bb7d6ff95970358eacc41a0e98a.tar.gz
CMake-0283c37c76391bb7d6ff95970358eacc41a0e98a.tar.bz2
ERR:Oops, renamed back
Diffstat (limited to 'CMakeSimpleRules.make.in')
-rw-r--r--CMakeSimpleRules.make.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeSimpleRules.make.in b/CMakeSimpleRules.make.in
new file mode 100644
index 0000000..cb95e29
--- /dev/null
+++ b/CMakeSimpleRules.make.in
@@ -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 $@