diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2009-12-21 22:24:48 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2009-12-21 22:24:48 +0000 |
| commit | 97c0fcbbef19012f825cba0fc3f16037322ce84c (patch) | |
| tree | 4169f36e050f4df84280c948148f8f054c37091e /share/autoinclude/general-rules.bld | |
| parent | 8ebc3f17961ef6a0cf708cc6bdca948d77817ee0 (diff) | |
| download | build-97c0fcbbef19012f825cba0fc3f16037322ce84c.tar.gz build-97c0fcbbef19012f825cba0fc3f16037322ce84c.tar.bz2 build-97c0fcbbef19012f825cba0fc3f16037322ce84c.tar.xz build-97c0fcbbef19012f825cba0fc3f16037322ce84c.zip | |
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.
Diffstat (limited to 'share/autoinclude/general-rules.bld')
| -rw-r--r-- | share/autoinclude/general-rules.bld | 8 |
1 files changed, 4 insertions, 4 deletions
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" | |||
| 78 | rule "cpp" | 78 | rule "cpp" |
| 79 | { | 79 | { |
| 80 | input "*.cpp"; | 80 | input "*.cpp"; |
| 81 | output cppToObj(); | 81 | output INPUT.cppToObj(); |
| 82 | // output replace(".cpp", ".o"); | 82 | // output replace(".cpp", ".o"); |
| 83 | requires getMakeDeps("${CXX} ${CXXFLAGS} -M ${INPUT}"); | 83 | requires getMakeDeps("${CXX} ${CXXFLAGS} -M ${INPUT}"); |
| 84 | profile "build" | 84 | profile "build" |
| @@ -91,7 +91,7 @@ rule "cpp" | |||
| 91 | rule "c" | 91 | rule "c" |
| 92 | { | 92 | { |
| 93 | input "*.c"; | 93 | input "*.c"; |
| 94 | output cToObj(); | 94 | output INPUT.cToObj(); |
| 95 | // output replace(".c", ".o"); | 95 | // output replace(".c", ".o"); |
| 96 | requires getMakeDeps("${CC} ${CFLAGS} -M ${INPUT}"); | 96 | requires getMakeDeps("${CC} ${CFLAGS} -M ${INPUT}"); |
| 97 | profile "build" | 97 | profile "build" |
| @@ -115,8 +115,8 @@ rule "bison" | |||
| 115 | rule "flex" | 115 | rule "flex" |
| 116 | { | 116 | { |
| 117 | input "*.l"; | 117 | input "*.l"; |
| 118 | output replace(".l", ".yy.c"); | 118 | output INPUT.replace(".l", ".yy.c"); |
| 119 | output replace(".l", ".yy.h"); | 119 | output INPUT.replace(".l", ".yy.h"); |
| 120 | profile "build" | 120 | profile "build" |
| 121 | { | 121 | { |
| 122 | execute("${FLEX} ${FLEXFLAGS} ${INPUT}"); | 122 | execute("${FLEX} ${FLEXFLAGS} ${INPUT}"); |
