ENH: fix for Sgi make

This commit is contained in:
Bill Hoffman 2000-08-31 13:52:13 -04:00
parent e06a538a30
commit 8300505ece
1 changed files with 15 additions and 0 deletions

15
CMakeSimpleRules.make Normal file
View File

@ -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 $@