This repository has been archived by the owner. It is now read-only.
Browse files

Fix make targets so they detect changes

Broken in 10d92b3
  • Loading branch information...
1 parent ee0a7b9 commit bb8f73419c27e05f65eb39655ae04bae3b815628 @ry ry committed Dec 18, 2011
Showing with 8 additions and 5 deletions.
  1. +8 −5 Makefile
@@ -6,14 +6,17 @@ else
all: out/Makefile node_g
-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
$(MAKE) -C out BUILDTYPE=Release
+ ln -fs out/Release/node node
-node_g: out/Debug/node
- -ln -fs out/Debug/node node_g
+ $(MAKE) -C out BUILDTYPE=Debug
+ ln -fs out/Debug/node node_g
$(MAKE) -C out BUILDTYPE=Debug

0 comments on commit bb8f734

Please sign in to comment.