dwmblocks/Makefile
2022-08-24 18:37:38 +02:00

22 lines
302 B
Makefile

.POSIX:
PREFIX = /usr/local
CFLAGS = -Ofast
LDLIBS = -lX11
BIN = dwmblocks
$(BIN): main.o
$(CC) $^ -o $@ $(LDLIBS)
clean:
$(RM) *.o $(BIN)
install: $(BIN)
install -D -m 755 $(BIN) $(DESTDIR)$(PREFIX)/bin/$(BIN)
uninstall:
$(RM) $(DESTDIR)$(PREFIX)/bin/$(BIN)
.PHONY: clean install uninstall