Browse Source

* More ${EXEEXT} patches by Sheplyakov Alexei.

master
Richard Kreckel 18 years ago
parent
commit
57eff4b2a0
  1. 11
      benchmarks/Makefile.in
  2. 21
      examples/Makefile.in

11
benchmarks/Makefile.in

@ -24,6 +24,7 @@ MV = mv
LN = ln
RM = rm -f
@SET_MAKE@
EXEEXT = @EXEEXT@
#### End of system configuration section. ####
@ -83,11 +84,11 @@ endif
%.i.cc : %.cc
${CXXCPP} ${CXXFLAGS} ${CPPFLAGS} ${TARGET_ARCH} $< > $@
timebench1 : $(patsubst %,%.o,${MODULES_timebench1})
timebench2a : $(patsubst %,%.o,${MODULES_timebench2a})
timebench2ap : $(patsubst %,%.o,${MODULES_timebench2ap})
timebench2b : $(patsubst %,%.o,${MODULES_timebench2b})
${PROGRAMS} : % : ${LIBDEPS}
timebench1${EXEEXT} : $(patsubst %,%.o,${MODULES_timebench1})
timebench2a${EXEEXT} : $(patsubst %,%.o,${MODULES_timebench2a})
timebench2ap${EXEEXT} : $(patsubst %,%.o,${MODULES_timebench2ap})
timebench2b${EXEEXT} : $(patsubst %,%.o,${MODULES_timebench2b})
${PROGRAMS} : %${EXEEXT} : ${LIBDEPS}
${LIBTOOL_LINK} ${CXX} ${CXXFLAGS} ${TARGET_ARCH} $(patsubst %,%.o,$(MODULES_$(*F))) ${LDFLAGS} ${LIBS} -o $@

21
examples/Makefile.in

@ -27,6 +27,7 @@ MV = mv
LN = ln
RM = rm -f
@SET_MAKE@
EXEEXT = @EXEEXT@
#### End of system configuration section. ####
@ -61,7 +62,7 @@ MODULES_nextprime = nextprime
MODULES_perfnum = perfnum
MODULES_pi = pi
all : contfrac e fibonacci legendre lucaslehmer nextprime perfnum pi
all : $(addsuffix ${EXEEXT}, contfrac e fibonacci legendre lucaslehmer nextprime perfnum pi)
%.s : %.c
${CC} ${CFLAGS} ${CPPFLAGS} ${TARGET_ARCH} -S $< -o $@
@ -81,15 +82,15 @@ all : contfrac e fibonacci legendre lucaslehmer nextprime perfnum pi
%.i.cc : %.cc
${CXXCPP} ${CXXFLAGS} ${CPPFLAGS} ${TARGET_ARCH} $< > $@
contfrac : $(patsubst %,%.o,${MODULES_contfrac})
e : $(patsubst %,%.o,${MODULES_e})
fibonacci : $(patsubst %,%.o,${MODULES_fibonacci})
legendre : $(patsubst %,%.o,${MODULES_legendre})
lucaslehmer : $(patsubst %,%.o,${MODULES_lucaslehmer})
nextprime : $(patsubst %,%.o,${MODULES_nextprime})
perfnum : $(patsubst %,%.o,${MODULES_perfnum})
pi : $(patsubst %,%.o,${MODULES_pi})
${PROGRAMS} : % : ${LIBDEPS}
contfrac${EXEEXT} : $(patsubst %,%.o,${MODULES_contfrac})
e${EXEEXT} : $(patsubst %,%.o,${MODULES_e})
fibonacci${EXEEXT} : $(patsubst %,%.o,${MODULES_fibonacci})
legendre${EXEEXT} : $(patsubst %,%.o,${MODULES_legendre})
lucaslehmer${EXEEXT} : $(patsubst %,%.o,${MODULES_lucaslehmer})
nextprime${EXEEXT} : $(patsubst %,%.o,${MODULES_nextprime})
perfnum${EXEEXT} : $(patsubst %,%.o,${MODULES_perfnum})
pi${EXEEXT} : $(patsubst %,%.o,${MODULES_pi})
${PROGRAMS} : %${EXEEXT} : ${LIBDEPS}
${LIBTOOL_LINK} ${CXX} ${CXXFLAGS} ${TARGET_ARCH} $(patsubst %,%.o,$(MODULES_$(*F))) ${LDFLAGS} ${LIBS} -o $@

Loading…
Cancel
Save