makefile fixed

master
Marc Wäckerlin 10 years ago
parent a3c2ef10ed
commit 29b1bef6fd
  1. 10
      src/makefile.am

@ -4,7 +4,7 @@
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 ## 45678901234567890123456789012345678901234567890123456789012345678901234567890
bin_SCRIPTS = webrunner webtester bin_SCRIPTS = webrunner webtester
BUILT_SOURCES = ${bin_SCRIPTS:%=makefile.%} BUILT_SOURCES = ${bin_SCRIPTS:%=qmakefile.%}
EXTRA_DIST = commands.hxx networkaccessmanager.hxx testgui.ui \ EXTRA_DIST = commands.hxx networkaccessmanager.hxx testgui.ui \
webrunner.cxx web.ui exceptions.hxx testgui.hxx \ webrunner.cxx web.ui exceptions.hxx testgui.hxx \
webpage.hxx webtester.cxx @PACKAGE_NAME@.pro webpage.hxx webtester.cxx @PACKAGE_NAME@.pro
@ -14,13 +14,13 @@ clean-local: ${bin_SCRIPTS:%=clean.%}
webrunner: make.webrunner webrunner: make.webrunner
webtester: make.webtester webtester: make.webtester
makefile.%: ${srcdir}/webtester.pro qmakefile.%: ${srcdir}/webtester.pro
${QMAKE} -makefile -o $@ -config debug -config ${@:makefile.%=%} $< ${QMAKE} -makefile -o $@ -config debug -config ${@:qmakefile.%=%} $<
make.%: makefile.% make.%: qmakefile.%
make -f ${<} make -f ${<}
clean.%: makefile.% clean.%: qmakefile.%
make -f ${<} clean make -f ${<} clean
CLEANFILES = ${bin_SCRIPTS} CLEANFILES = ${bin_SCRIPTS}

Loading…
Cancel
Save