Commit febe9001 authored by Mike Hamburg's avatar Mike Hamburg

makefile rpath settings

parent b5f7c2ef
......@@ -87,10 +87,18 @@ scan: clean
make build/bench build/test all
build/test: build/test_decaf.o lib
ifeq ($(UNAME),Darwin)
$(LDXX) $(LDFLAGS) -o $@ $< -Lbuild -ldecaf
else
$(LDXX) $(LDFLAGS) -Wl,-rpath,`pwd`/build -o $@ $< -Lbuild -ldecaf
endif
build/bench: build/bench_decaf.o lib
ifeq ($(UNAME),Darwin)
$(LDXX) $(LDFLAGS) -o $@ $< -Lbuild -ldecaf
else
$(LDXX) $(LDFLAGS) -Wl,-rpath,`pwd`/build -o $@ $< -Lbuild -ldecaf
endif
build/shakesum: build/shakesum.o build/shake.o
$(LD) $(LDFLAGS) -o $@ $^
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment