mpd_control/Makefile

12 lines
226 B
Makefile
Raw Normal View History

2019-10-14 13:38:14 -06:00
CC = gcc
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)
$(CC) $(CFLAGS) $^ $(LDLIBS) -o $@
2019-10-14 13:38:14 -06:00
clean:
rm $(OBJECTS)
rm mpd_control