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 LN = ln
RM = rm -f RM = rm -f
@SET_MAKE@ @SET_MAKE@
EXEEXT = @EXEEXT@
#### End of system configuration section. #### #### End of system configuration section. ####
@ -83,11 +84,11 @@ endif
%.i.cc : %.cc %.i.cc : %.cc
${CXXCPP} ${CXXFLAGS} ${CPPFLAGS} ${TARGET_ARCH} $< > $@ ${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 $@ ${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 LN = ln
RM = rm -f RM = rm -f
@SET_MAKE@ @SET_MAKE@
EXEEXT = @EXEEXT@
#### End of system configuration section. #### #### End of system configuration section. ####
@ -61,7 +62,7 @@ MODULES_nextprime = nextprime
MODULES_perfnum = perfnum MODULES_perfnum = perfnum
MODULES_pi = pi 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 %.s : %.c
${CC} ${CFLAGS} ${CPPFLAGS} ${TARGET_ARCH} -S $< -o $@ ${CC} ${CFLAGS} ${CPPFLAGS} ${TARGET_ARCH} -S $< -o $@
@ -81,15 +82,15 @@ all : contfrac e fibonacci legendre lucaslehmer nextprime perfnum pi
%.i.cc : %.cc %.i.cc : %.cc
${CXXCPP} ${CXXFLAGS} ${CPPFLAGS} ${TARGET_ARCH} $< > $@ ${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 $@ ${LIBTOOL_LINK} ${CXX} ${CXXFLAGS} ${TARGET_ARCH} $(patsubst %,%.o,$(MODULES_$(*F))) ${LDFLAGS} ${LIBS} -o $@

Loading…
Cancel
Save