From ab94e030534305f2bc8fc08a081fd3d5279e49df Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 7 Nov 2021 06:45:23 -0500 Subject: initial commit --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..25da945 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +PREFIX ?= /usr/local +CC ?= cc +LDFLAGS = -lX11 + +output: dwmblocks.c + ${CC} dwmblocks.c $(LDFLAGS) -o dwmblocks +clean: + rm -f *.o *.gch dwmblocks +install: output + mkdir -p $(DESTDIR)$(PREFIX)/bin + install -m 0755 dwmblocks $(DESTDIR)$(PREFIX)/bin/dwmblocks +uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks -- cgit v1.2.3