2019-10-14 13:38:14 -06:00
|
|
|
CC = gcc
|
2019-10-16 08:47:59 -06:00
|
|
|
CFLAGS = -g -Wall $(shell pkg-config --cflags --libs glib-2.0)
|
2019-10-14 13:38:14 -06:00
|
|
|
LDLIBS=-lpthread -lmpdclient
|
|
|
|
|
|
|
|
OBJECTS = mpd_control.o
|
|
|
|
mpd_control: $(OBJECTS)
|
2019-10-16 12:24:16 -06:00
|
|
|
$(CC) $(CFLAGS) $(LDLIBS) $^ -o $@
|
2019-10-14 13:38:14 -06:00
|
|
|
|
|
|
|
clean:
|
2019-10-16 06:29:08 -06:00
|
|
|
rm $(OBJECTS)
|
|
|
|
rm mpd_control
|