aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index ef43ef4..1be71aa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,16 @@
PREFIX ?= /usr/local
CC ?= cc
-LDFLAGS = -lX11
-output: dwmblocks.c blocks.def.h blocks.h
- ${CC} dwmblocks.c $(LDFLAGS) -o dwmblocks
+output: someblocks.c blocks.def.h blocks.h
+ ${CC} someblocks.c $(LDFLAGS) -o someblocks
blocks.h:
cp blocks.def.h $@
clean:
- rm -f *.o *.gch dwmblocks
+ rm -f *.o *.gch someblocks
install: output
mkdir -p $(DESTDIR)$(PREFIX)/bin
- install -m 0755 dwmblocks $(DESTDIR)$(PREFIX)/bin/dwmblocks
+ install -m 0755 someblocks $(DESTDIR)$(PREFIX)/bin/someblocks
uninstall:
- rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks
+ rm -f $(DESTDIR)$(PREFIX)/bin/someblocks