blob: 2380dade6dcfd83c3ac9ca112a575b3d731c60cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
TARGET = mpc-bar
CFLAGS = -O2 -fobjc-arc -Wall
LDFLAGS = -lmpdclient -framework Cocoa
BINDIR = /usr/local/bin
$(TARGET): mpc-bar.o ini.o
$(CC) $^ $(LDFLAGS) -o $@
mpc-bar.o ini.o: ini.h
install: $(TARGET)
install -d $(BINDIR)
install -m755 $< $(BINDIR)/$<
clean:
rm -f $(TARGET) mpc-bar.o ini.o
|