diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-22 21:22:49 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-22 21:22:49 -0700 |
commit | dacf4030f7a6df8709b2cde673e1e28bf221cef4 (patch) | |
tree | a9e60e00f8069851e2d5088a94b8faed6f7ec31d /makefile | |
parent | 293dbd7e85f38bfeb9fe0b1a0b0bf85a78c9e5cc (diff) | |
download | mu-dacf4030f7a6df8709b2cde673e1e28bf221cef4.tar.gz |
1424 - the right way to make autogenerated_lists
Ever since 1403 mu depended on a phony target and so was always considered stale. This commit improves on that fix.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile index d21a2490..8c37e50a 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -mu: makefile enumerate/enumerate tangle/tangle mu.cc termbox/libtermbox.a autogenerated_lists +mu: makefile enumerate/enumerate tangle/tangle mu.cc termbox/libtermbox.a g++ -g -Wall -Wextra -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu # To see what the program looks like after all layers have been applied, read @@ -6,6 +6,7 @@ mu: makefile enumerate/enumerate tangle/tangle mu.cc termbox/libtermbox.a autoge mu.cc: 0* ./tangle/tangle $$(./enumerate/enumerate --until 9999 |grep -v '.mu$$') > mu.cc cat $$(./enumerate/enumerate --until 9999 |grep '.mu$$') > core.mu + make --no-print-directory autogenerated_lists enumerate/enumerate: cd enumerate && make && ./enumerate test |