Fix make targets so they detect changes
Broken in 10d92b3
This commit is contained in:
parent
ee0a7b928b
commit
bb8f73419c
13
Makefile
13
Makefile
@ -6,14 +6,17 @@ else
|
|||||||
all: out/Makefile node_g
|
all: out/Makefile node_g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
node: out/Release/node
|
# The .PHONY is needed to ensure that we recursively use the out/Makefile
|
||||||
-ln -fs out/Release/node node
|
# to check for changes.
|
||||||
|
.PHONY: node node_g
|
||||||
|
|
||||||
out/Release/node:
|
node:
|
||||||
$(MAKE) -C out BUILDTYPE=Release
|
$(MAKE) -C out BUILDTYPE=Release
|
||||||
|
ln -fs out/Release/node node
|
||||||
|
|
||||||
node_g: out/Debug/node
|
node_g:
|
||||||
-ln -fs out/Debug/node node_g
|
$(MAKE) -C out BUILDTYPE=Debug
|
||||||
|
ln -fs out/Debug/node node_g
|
||||||
|
|
||||||
out/Debug/node:
|
out/Debug/node:
|
||||||
$(MAKE) -C out BUILDTYPE=Debug
|
$(MAKE) -C out BUILDTYPE=Debug
|
||||||
|
Loading…
x
Reference in New Issue
Block a user