2021-01-24 02:38:51 +01:00
|
|
|
.POSIX:
|
|
|
|
include config.mk
|
2021-01-27 14:55:01 +01:00
|
|
|
LIBS=-lX11
|
2021-01-24 02:38:51 +01:00
|
|
|
all: mpdart config.mk
|
|
|
|
mpdart: mpdart.c
|
2021-01-27 14:55:01 +01:00
|
|
|
$(CC) $(CONFIG) $(LIBS) $(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
|