diff --git a/Makefile b/Makefile index 14b2c08..529c4d7 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,7 @@ debug-strip: pgo-static: static debug-strip install: - install -m 0755 bin/sambamba $(prefix)/bin + install -m 0755 $(OUT) $(prefix)/bin clean: clean-d rm -f profile.data diff --git a/Makefile.guix b/Makefile.guix index 878f98c..15a1061 100644 --- a/Makefile.guix +++ b/Makefile.guix @@ -91,13 +91,13 @@ biod: check: all debug test debug-strip: debug - objcopy --only-keep-debug bin/sambamba sambamba.debug - objcopy --strip-debug bin/sambamba - objcopy --add-gnu-debuglink=sambamba.debug bin/sambamba + objcopy --only-keep-debug $(OUT) sambamba.debug + objcopy --strip-debug $(OUT) + objcopy --add-gnu-debuglink=sambamba.debug $(OUT) mv sambamba.debug bin/ install: - install -m 0755 bin/sambamba $(prefix)/bin + install -m 0755 $(OUT) $(prefix)/bin clean-c: