aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2023-07-22 22:17:32 -0230
committerSam Anthony <sam@samanthony.xyz>2023-07-22 22:17:32 -0230
commita1e02a94f69f06af62af137212da1534c460c756 (patch)
tree5d39f503c235ad40d1b86e5cf76fb4970d9e889a /Makefile
parent4e17a27eb8d36868bcf7e1edf32affd84412a1f4 (diff)
downloadpfc-a1e02a94f69f06af62af137212da1534c460c756.zip
ui skeleton
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dd45c4c..db17c6e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,15 @@ include config.mk
build:
go mod tidy
- gofmt -l -s -w ./**/*.go
+ go build
+ go test
+ gofmt -l -s -w .
clean:
rm -f pfc
-install: build
+install:
+ go build
cp pfc ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/pfc
mkdir -p ${DESTDIR}${MANPREFIX}/man1