Blame


1 d9c21e6f 2023-07-24 spnw TARGET = mpc-bar
2 d9c21e6f 2023-07-24 spnw OBJCFLAGS = -O2 -fobjc-arc -Wall
3 d9c21e6f 2023-07-24 spnw LDFLAGS = -lmpdclient -framework Cocoa
4 b52ea8be 2023-07-27 spnw BINDIR = /usr/local/bin
5 d9c21e6f 2023-07-24 spnw
6 d9c21e6f 2023-07-24 spnw $(TARGET): mpc-bar.m
7 d9c21e6f 2023-07-24 spnw $(CC) $(OBJCFLAGS) $< $(LDFLAGS) -o $@
8 d9c21e6f 2023-07-24 spnw
9 b52ea8be 2023-07-27 spnw install: $(TARGET)
10 fbe4bf84 2023-07-27 spnw install -d $(BINDIR)
11 b52ea8be 2023-07-27 spnw install -m755 $< $(BINDIR)/$<
12 b52ea8be 2023-07-27 spnw
13 d9c21e6f 2023-07-24 spnw clean:
14 d9c21e6f 2023-07-24 spnw rm -f $(TARGET)