Skip to content

Commit

Permalink
Added a Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
waydabber authored Feb 7, 2024
1 parent 6c1d6ad commit c93cd6d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
prefix ?= /usr/local
bindir = $(prefix)/bin

build:
swiftc betterdisplaycli.swift

install: build
install -d "$(bindir)"
install "./betterdisplaycli" "$(bindir)"

uninstall:
rm -rf "$(bindir)/betterdisplaycli"

clean:
rm -rf betterdisplaycli

.PHONY: build install uninstall clean

0 comments on commit c93cd6d

Please sign in to comment.