added debug target

This commit is contained in:
Rachel Lambda Samuelsson 2021-01-29 21:30:24 +01:00
parent 569272e96f
commit 7a0b296301

View File

@ -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