commit 506f0361d0d309b5b9702aed9ca60d9de78c08bc parent 33f51604144d7e0ea3553b85e87988a4df5b859d Author: Matthew Carlson <matt@mcarlson.xyz> Date: Thu, 15 Jul 2021 22:54:51 -0400 a bit more clean up and added extra flag Diffstat:
M | Makefile | | | 8 | +++----- |
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -Wall -Wextra -pedantic -lX11 -lXft -I/usr/include/freetype2 -pthread +CFLAGS = -Wall -Wextra -pedantic -lX11 -lXft -I/usr/include/freetype2 -pthread -lrt PREFIX ?= /usr/local CC ?= cc @@ -11,11 +11,9 @@ herbe: herbe.c config.h install: herbe mkdir -p ${DESTDIR}${PREFIX}/bin cp -f herbe ${DESTDIR}${PREFIX}/bin + rm -f herbe uninstall: rm -f ${DESTDIR}${PREFIX}/bin/herbe -clean: - rm -f herbe - -.PHONY: all install uninstall clean +.PHONY: all install uninstall