aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 59dcb5eb6d66ea8092428c90c848cb495b32d780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 -d $(BINDIR)
	install -m755 $< $(BINDIR)/$<

clean:
	rm -f $(TARGET)