2021-01-24 02:38:51 +01:00
|
|
|
.POSIX:
|
|
|
|
include config.mk
|
|
|
|
all: mpdart config.mk
|
|
|
|
mpdart: mpdart.c
|
2021-01-27 16:16:29 +01:00
|
|
|
$(CC) $(CONFIG) $(CFLAGS) $(CXXFLAGS) -o $@ mpdart.c
|
2021-01-24 02:38:51 +01:00
|
|
|
clean:
|
|
|
|
rm -f mpdart
|
|
|
|
install: mpdart
|
|
|
|
install -Dm755 mpdart $(DESTDIR)$(PREFIX)/bin/mpdart
|
|
|
|
uninstall:
|
|
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/mpdart
|