Blob


1 TARGET = mpc-bar
2 OBJCFLAGS = -O2 -fobjc-arc -Wall
3 LDFLAGS = -lmpdclient -framework Cocoa
4 BINDIR = /usr/local/bin
6 $(TARGET): mpc-bar.m
7 $(CC) $(OBJCFLAGS) $< $(LDFLAGS) -o $@
9 install: $(TARGET)
10 install -d $(BINDIR)
11 install -m755 $< $(BINDIR)/$<
13 clean:
14 rm -f $(TARGET)