Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix make targets so they detect changes
Broken in 10d92b3
  • Loading branch information
ry committed Dec 18, 2011
1 parent ee0a7b9 commit bb8f734
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Makefile
Expand Up @@ -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
Expand Down

0 comments on commit bb8f734

Please sign in to comment.