diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2016-12-15 08:21:13 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2016-12-15 08:21:13 -0700 |
| commit | b6891480dfb41336a4dfeee95e0c52301e7e6f62 (patch) | |
| tree | 0cb66d02d0218d8cc8f48d1a662a4c55ff1d84e7 | |
| parent | 34ef08c297801761f5466da9d9047504f332fd87 (diff) | |
| download | clic-b6891480dfb41336a4dfeee95e0c52301e7e6f62.tar.gz clic-b6891480dfb41336a4dfeee95e0c52301e7e6f62.tar.bz2 clic-b6891480dfb41336a4dfeee95e0c52301e7e6f62.tar.xz clic-b6891480dfb41336a4dfeee95e0c52301e7e6f62.zip | |
Wow, I feel dumb. Fixed the always-build-datafiles bug.
I had the wrong path for the target, so it could never find the output file and it tried to create it every single time.
| -rw-r--r-- | default.bld | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/default.bld b/default.bld index 390a58a..92cbdea 100644 --- a/default.bld +++ b/default.bld | |||
| @@ -7,13 +7,14 @@ target "clic" | |||
| 7 | LDFLAGS += "-ggdb -lbu++"; | 7 | LDFLAGS += "-ggdb -lbu++"; |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | target "datafiles.cpp" | 10 | target "src/datafiles.cpp" |
| 11 | { | 11 | { |
| 12 | input "parserhelp.txt"; | 12 | input ["parserhelp.txt"]; |
| 13 | display "bin2cpp"; | 13 | display "bin2cpp"; |
| 14 | 14 | ||
| 15 | profile "build" | 15 | profile "build" |
| 16 | { | 16 | { |
| 17 | condition fileTime; | ||
| 17 | execute("../libbu++/bin2cpp -d src parserhelp.txt"); | 18 | execute("../libbu++/bin2cpp -d src parserhelp.txt"); |
| 18 | } | 19 | } |
| 19 | } | 20 | } |
