summaryrefslogtreecommitdiffstats
path: root/CMakeRules.make.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-08-31 13:36:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-08-31 13:36:52 (GMT)
commite06a538a30cda12672c76775d1dc9d78a9ca0913 (patch)
tree17dfe9a3bd7309b621d27a6499bfa5c561a0113f /CMakeRules.make.in
parente644c825fb3b151cdf924a94e27acdf7cb2af11c (diff)
downloadCMake-e06a538a30cda12672c76775d1dc9d78a9ca0913.zip
CMake-e06a538a30cda12672c76775d1dc9d78a9ca0913.tar.gz
CMake-e06a538a30cda12672c76775d1dc9d78a9ca0913.tar.bz2
ENH: fix for SGI make
Diffstat (limited to 'CMakeRules.make.in')
-rw-r--r--CMakeRules.make.in19
1 files changed, 5 insertions, 14 deletions
diff --git a/CMakeRules.make.in b/CMakeRules.make.in
index 5a9f445..91341f7 100644
--- a/CMakeRules.make.in
+++ b/CMakeRules.make.in
@@ -1,21 +1,12 @@
-# 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 $@
+# include simple rules for building .o files
+@MAKEINCLUDE@ @MAKEQUOTE@@CMAKE_OBJ_DIR@/CMake/CMakeSimpleRules.make@MAKEQUOTE@
#
-# Makefile for Visualization Toolkit sources.
+# Makefile for
#
#------------------------------------------------------------------------------
#
-all: ${OBJ_SUB_DIRS} ${EXECUTABLES} ${SUBDIR_BUILD} ${BUILD_LIB_FILE} ${LOCAL_BUILD_TARGETS}
+all: CMakeTargets.make ${OBJ_SUB_DIRS} ${EXECUTABLES} ${SUBDIR_BUILD} ${BUILD_LIB_FILE} ${LOCAL_BUILD_TARGETS} ${CMAKE}
#------------------------------------------------------------------------------
@@ -27,7 +18,7 @@ depend: ${CMAKE}
clean: ${SUBDIR_CLEAN}
- rm -f ${SRC_OBJ} ${ITK_EXECUTABLES}
+ rm -f ${SRC_OBJ} ${EXECUTABLES}
CMakeTargets.make: ${CMAKE} ${srcdir}/CMakeLists.txt
${CMAKE} ${srcdir}/CMakeLists.txt -S${srcdir} -I${srcdir} ${INCLUDE_FLAGS}