diff options
author | Spencer Williams <spnw@plexwave.org> | 2024-09-24 19:04:53 -0400 |
---|---|---|
committer | Spencer Williams <spnw@plexwave.org> | 2024-09-24 19:36:32 -0400 |
commit | e2f686c903cc00d4a4956cf6ff209fa16c950416 (patch) | |
tree | e136311b280f86d7ad805c1f3eed056db151a439 /Makefile | |
parent | 2fcdff498ad01421e89e35a8971af326d63aab4d (diff) |
Add connection configuration via INI filev0.1.2
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 |