12 lines
180 B
Makefile
12 lines
180 B
Makefile
CC = gcc
|
|
CFLAGS = -g -Wall
|
|
LDLIBS=-lpthread -lmpdclient
|
|
|
|
OBJECTS = mpd_control.o
|
|
mpd_control: $(OBJECTS)
|
|
$(CC) $(CFLAGS) $^ $(LDLIBS) -o $@
|
|
|
|
clean:
|
|
rm $(OBJECTS)
|
|
rm mpd_control
|