From 8300505ecec8eb408d9ee6e62149c3c03714e55e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 31 Aug 2000 13:52:13 -0400 Subject: [PATCH] ENH: fix for Sgi make --- CMakeSimpleRules.make | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CMakeSimpleRules.make diff --git a/CMakeSimpleRules.make b/CMakeSimpleRules.make new file mode 100644 index 000000000..cb95e29bb --- /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 $@