diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,14 +1,16 @@ TARGET = mpc-bar -OBJCFLAGS = -O2 -fobjc-arc -Wall +CFLAGS = -O2 -fobjc-arc -Wall LDFLAGS = -lmpdclient -framework Cocoa BINDIR = /usr/local/bin -$(TARGET): mpc-bar.m - $(CC) $(OBJCFLAGS) $< $(LDFLAGS) -o $@ +$(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) + rm -f $(TARGET) mpc-bar.o ini.o |