added debug target

master
Rachel Lambda Samuelsson 2021-01-29 21:30:24 +01:00
parent 569272e96f
commit 7a0b296301
1 changed files with 4 additions and 0 deletions

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