summaryrefslogtreecommitdiffstats
path: root/CMakeSimpleRules.make.in
blob: cb95e29bbcc78cb74055c3d1af4c1fd4100933b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 $@