aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTommaso Negri <me@tommasongr.com>2026-10-15 11:04:07 +0200
committerTommaso Negri <me@tommasongr.com>2026-10-15 11:04:07 +0200
commitb1d16ce115571840bf69a5483f86d407623ec358 (patch)
tree37f93fb337f37195423f8d2d52063cc2c12e7241 /Makefile
parent758f757cb9b60dddf10efd5d37becfec9f4b5196 (diff)
downloadbar-b1d16ce115571840bf69a5483f86d407623ec358.tar.gz
bar-b1d16ce115571840bf69a5483f86d407623ec358.zip
improve makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index af81feb..c6d3542 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ build:
.PHONY: run
run:
- swift run bar -c debug
+ swift run -c debug bar
.PHONY: clean
clean:
@@ -14,12 +14,12 @@ clean:
.PHONY: install
install: build
- @install -d $(PREFIX)/bin/
- @install -Dm755 .build/release/bar $(PREFIX)/bin/
+ @install -d "$(PREFIX)/bin/"
+ @install -m 755 ".build/release/bar" "$(PREFIX)/bin/"
.PHONY: uninstall
uninstall:
- @rm -f $(PREFIX)/bin/bar
+ @rm -f "$(PREFIX)/bin/bar"
.PHONY: docs
docs: .build/release/bar