fix makefile #2

This commit is contained in:
Ward Nakchbandi 2023-03-09 22:50:35 +03:00
parent db473c5580
commit 897e9772f3

View File

@ -1,6 +1,7 @@
.DEFAULT_GOAL := build
build:
go build -ldflags="-s -w" -o pikman
install:
all:
true
+install:
mkdir -p $(DESTDIR)/usr/bin/
install -m 755 pikman $(DESTDIR)/usr/bin/
go build -ldflags="-s -w" -o $(DESTDIR)/usr/bin/pikman
chmod 755 $(DESTDIR)/usr/bin/pikman