mirror of
https://github.com/mintycube/dwmblocks.git
synced 2024-10-22 14:05:47 +02:00
22 lines
302 B
Makefile
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
|