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:
parent
fe4c1a692b
commit
b03bcb9acc
2
Makefile
2
Makefile
@ -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 $<
|
||||||
|
Loading…
Reference in New Issue
Block a user