dwmblocks-custom/Makefile

22 lines
302 B
Makefile
Raw Normal View History

2021-03-20 10:52:45 +01:00
.POSIX:
PREFIX = /usr/local
2022-08-24 16:34:53 +02:00
CFLAGS = -Ofast
LDLIBS = -lX11
BIN = dwmblocks
$(BIN): main.o
$(CC) $^ -o $@ $(LDLIBS)
2021-03-20 10:52:45 +01:00
clean:
2022-08-24 16:34:53 +02:00
$(RM) *.o $(BIN)
install: $(BIN)
install -D -m 755 $(BIN) $(DESTDIR)$(PREFIX)/bin/$(BIN)
2021-03-20 10:52:45 +01:00
uninstall:
2022-08-24 16:34:53 +02:00
$(RM) $(DESTDIR)$(PREFIX)/bin/$(BIN)
2021-03-20 10:52:45 +01:00
.PHONY: clean install uninstall