aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2023-07-23 11:48:57 -0230
committerSam Anthony <sam@samanthony.xyz>2023-07-23 11:48:57 -0230
commitc38cbaf0f74c51602284c48fd27edaefe0ec7013 (patch)
tree0f580b299727b7babe10c8e320b8344d11d4c636
parenta1e02a94f69f06af62af137212da1534c460c756 (diff)
downloadpfc-c38cbaf0f74c51602284c48fd27edaefe0ec7013.zip
add 'run' target to makefile
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index db17c6e..35d3fd1 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@ build:
go test
gofmt -l -s -w .
+run: build
+ ./pfc
+
clean:
rm -f pfc
@@ -21,4 +24,4 @@ uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/pfc \
${DESTDIR}${MANPREFIX}/man1/pfc.1
-.PHONY: build install uninstall
+.PHONY: build run install uninstall