diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,9 +1,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) |