aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: d8fab0798ed1cf278d9f78751db1355c46446ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
TARGET = mpc-bar
OBJCFLAGS = -O2 -fobjc-arc -Wall
LDFLAGS = -lmpdclient -framework Cocoa
BINDIR = /usr/local/bin

$(TARGET): mpc-bar.m
	$(CC) $(OBJCFLAGS) $< $(LDFLAGS) -o $@

install: $(TARGET)
	install -m755 $< $(BINDIR)/$<

clean:
	rm -f $(TARGET)