From 7a0b296301bca15b9e0bfd98c2c2e263682a397a Mon Sep 17 00:00:00 2001 From: depsterr Date: Fri, 29 Jan 2021 21:30:24 +0100 Subject: [PATCH] added debug target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5d5b130..736dd0a 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,12 @@ .POSIX: +.PHONY: clean install uninstall all debug include config.mk all: mpdart mpdart: mpdart.c $(CC) $(CONFIG) $(CFLAGS) $(CXXFLAGS) -o $@ mpdart.c +debug: mpdart_debug +mpdart_debug: mpdart.c + $(CC) $(CONFIG) -Og -g -DDEBUG -o $@ mpdart.c clean: rm -f mpdart install: mpdart