From b03bcb9accb2d2097bc8908b571222472be16b4c Mon Sep 17 00:00:00 2001 From: Will Date: Sat, 9 Nov 2013 12:30:33 +0900 Subject: [PATCH] use $CURDIR intead of $PWD in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f25fbb8..d760004 100644 --- a/Makefile +++ b/Makefile @@ -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 $<