1
0
mirror of https://github.com/wg/wrk synced 2025-01-23 20:23:03 +08:00

use $CURDIR intead of $PWD in Makefile

This commit is contained in:
Will 2013-11-09 12:30:33 +09:00
parent fe4c1a692b
commit b03bcb9acc

View File

@ -45,7 +45,7 @@ $(ODIR): $(LDIR)/libluajit.a
$(ODIR)/bytecode.o: scripts/wrk.lua $(ODIR)/bytecode.o: scripts/wrk.lua
@echo LUAJIT $< @echo LUAJIT $<
@$(SHELL) -c 'cd $(LDIR) && ./luajit -b $(PWD)/$< $(PWD)/$@' @$(SHELL) -c 'cd $(LDIR) && ./luajit -b $(CURDIR)/$< $(CURDIR)/$@'
$(ODIR)/%.o : %.c $(ODIR)/%.o : %.c
@echo CC $< @echo CC $<