Skip to content

Commit

Permalink
use $CURDIR intead of $PWD in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
wg committed Nov 9, 2013
1 parent fe4c1a6 commit b03bcb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $(ODIR): $(LDIR)/libluajit.a

$(ODIR)/bytecode.o: scripts/wrk.lua
@echo LUAJIT $<
@$(SHELL) -c 'cd $(LDIR) && ./luajit -b $(PWD)/$< $(PWD)/$@'
@$(SHELL) -c 'cd $(LDIR) && ./luajit -b $(CURDIR)/$< $(CURDIR)/$@'

$(ODIR)/%.o : %.c
@echo CC $<
Expand Down

0 comments on commit b03bcb9

Please sign in to comment.