summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
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