From 97c0fcbbef19012f825cba0fc3f16037322ce84c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 21 Dec 2009 22:24:48 +0000 Subject: We're getting closer and closer, qt4 is more configurable and gets QT flags for you for CXXFLAGS and LDFLAGS, added a bunch more stuff and fixed a strange function input bug. --- share/autoinclude/general-rules.bld | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'share/autoinclude/general-rules.bld') diff --git a/share/autoinclude/general-rules.bld b/share/autoinclude/general-rules.bld index 46720c6..30a4376 100644 --- a/share/autoinclude/general-rules.bld +++ b/share/autoinclude/general-rules.bld @@ -78,7 +78,7 @@ rule "lib" rule "cpp" { input "*.cpp"; - output cppToObj(); + output INPUT.cppToObj(); // output replace(".cpp", ".o"); requires getMakeDeps("${CXX} ${CXXFLAGS} -M ${INPUT}"); profile "build" @@ -91,7 +91,7 @@ rule "cpp" rule "c" { input "*.c"; - output cToObj(); + output INPUT.cToObj(); // output replace(".c", ".o"); requires getMakeDeps("${CC} ${CFLAGS} -M ${INPUT}"); profile "build" @@ -115,8 +115,8 @@ rule "bison" rule "flex" { input "*.l"; - output replace(".l", ".yy.c"); - output replace(".l", ".yy.h"); + output INPUT.replace(".l", ".yy.c"); + output INPUT.replace(".l", ".yy.h"); profile "build" { execute("${FLEX} ${FLEXFLAGS} ${INPUT}"); -- cgit v1.2.3