configure make
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
prefix ?= /usr/local
|
||||
bindir = $(prefix)/bin
|
||||
libdir = $(prefix)/lib
|
||||
|
||||
build:
|
||||
swift build -c release --disable-sandbox
|
||||
|
||||
install: build
|
||||
install ".build/release/stringen" "$(bindir)"
|
||||
|
||||
uninstall:
|
||||
rm -rf "$(bindir)/stringen"
|
||||
|
||||
clean:
|
||||
rm -rf .build
|
||||
|
||||
.PHONY: build install uninstall clean
|
||||
Reference in New Issue
Block a user