From c015034ba2e0bfd8464ae444792552a4b354eb0d Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 13 Jun 2021 09:46:24 +0200 Subject: Offer debug Make Target --- src/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Makefile') 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 -- cgit v1.2.3-70-g09d2