mpdart/Makefile
2021-01-29 21:30:24 +01:00

16 lines
381 B
Makefile

.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
install -Dm755 mpdart $(DESTDIR)$(PREFIX)/bin/mpdart
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/mpdart