summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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