Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix make targets so they detect changes

Broken in 10d92b3
  • Loading branch information...
commit bb8f73419c27e05f65eb39655ae04bae3b815628 1 parent ee0a7b9
@ry ry authored
Showing with 8 additions and 5 deletions.
  1. +8 −5 Makefile
View
13 Makefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.