added debug target
This commit is contained in:
parent
569272e96f
commit
7a0b296301
4
Makefile
4
Makefile
|
@ -1,8 +1,12 @@
|
||||||
.POSIX:
|
.POSIX:
|
||||||
|
.PHONY: clean install uninstall all debug
|
||||||
include config.mk
|
include config.mk
|
||||||
all: mpdart
|
all: mpdart
|
||||||
mpdart: mpdart.c
|
mpdart: mpdart.c
|
||||||
$(CC) $(CONFIG) $(CFLAGS) $(CXXFLAGS) -o $@ 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:
|
clean:
|
||||||
rm -f mpdart
|
rm -f mpdart
|
||||||
install: mpdart
|
install: mpdart
|
||||||
|
|
Loading…
Reference in New Issue
Block a user