We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee0a7b9 commit bb8f734Copy full SHA for bb8f734
1 file changed
Makefile
@@ -6,14 +6,17 @@ else
6
all: out/Makefile node_g
7
endif
8
9
-node: out/Release/node
10
- -ln -fs out/Release/node node
+# The .PHONY is needed to ensure that we recursively use the out/Makefile
+# to check for changes.
11
+.PHONY: node node_g
12
-out/Release/node:
13
+node:
14
$(MAKE) -C out BUILDTYPE=Release
15
+ ln -fs out/Release/node node
16
-node_g: out/Debug/node
- -ln -fs out/Debug/node node_g
17
+node_g:
18
+ $(MAKE) -C out BUILDTYPE=Debug
19
+ ln -fs out/Debug/node node_g
20
21
out/Debug/node:
22
$(MAKE) -C out BUILDTYPE=Debug
0 commit comments