diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-12-19 03:10:01 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-12-19 03:12:25 +0400 |
commit | bb8f73419c27e05f65eb39655ae04bae3b815628 (patch) | |
tree | 62f53fca17dc78c7199babbd79f1332a63d54df6 /Makefile | |
parent | ee0a7b928bbdf638953fa8a0522ecb9a5bf35728 (diff) |
Fix make targets so they detect changes
Broken in 10d92b3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -6,14 +6,17 @@ else all: out/Makefile node_g endif -node: out/Release/node - -ln -fs out/Release/node node +# The .PHONY is needed to ensure that we recursively use the out/Makefile +# to check for changes. +.PHONY: node node_g -out/Release/node: +node: $(MAKE) -C out BUILDTYPE=Release + ln -fs out/Release/node node -node_g: out/Debug/node - -ln -fs out/Debug/node node_g +node_g: + $(MAKE) -C out BUILDTYPE=Debug + ln -fs out/Debug/node node_g out/Debug/node: $(MAKE) -C out BUILDTYPE=Debug |