summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-13 09:46:24 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-13 09:46:24 +0200
commitc015034ba2e0bfd8464ae444792552a4b354eb0d (patch)
treeb22dd83105ef795974b62b74917084d07c636280 /src/Makefile
parent6df5b35600e6aae6e676e2ba29eeaaf88bf9ff9b (diff)
downloadbirdscan-c015034ba2e0bfd8464ae444792552a4b354eb0d.tar
birdscan-c015034ba2e0bfd8464ae444792552a4b354eb0d.tar.zst
birdscan-c015034ba2e0bfd8464ae444792552a4b354eb0d.zip
Offer debug Make Target
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 02e9e39..3cb219f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,7 @@
DESTDIR="" # leave empty for the current system or provide a fakeroot here
PREFIX="/usr"
-.PHONY: all clean install
+.PHONY: all clean install debug
all:
# some recommended options for Go building (https://wiki.archlinux.org/title/Go_package_guidelines)
@@ -20,5 +20,8 @@ clean:
rm -rf build
install: all
- install -Dm 755 build/birdscan $(DESTDIR)$(PREFIX)/bin/birdscan
+ install -Dm 755 build/birdscan $(DESTDIR)$(PREFIX)/bin/birdscan
+
+debug: all
+ go run ./... -c ../config/default.json