aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2020-08-09 11:00:02 +0200
committerOmar Polo <op@omarpolo.com>2020-08-09 11:00:02 +0200
commite5f56fcf0001ecd5a4943aa2ce469b5042cd87f4 (patch)
treef2d5780bbfef1c6d355126ee25749f49d686c0b8
parentfe3ec2419e3ab8d19c508a3a3901a51fb1b506e2 (diff)
downloaddwm-retake-e5f56fcf0001ecd5a4943aa2ce469b5042cd87f4.tar.gz
dwm-retake-e5f56fcf0001ecd5a4943aa2ce469b5042cd87f4.tar.bz2
always rebuild config.h
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 77bcbc0..de154bc 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ include config.mk
SRC = drw.c dwm.c util.c
OBJ = ${SRC:.c=.o}
-all: options dwm
+all: rm-config options dwm
options:
@echo dwm build options:
@@ -48,4 +48,7 @@ uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
${DESTDIR}${MANPREFIX}/man1/dwm.1
-.PHONY: all options clean dist install uninstall
+rm-config:
+ rm config.h
+
+.PHONY: all options clean dist install uninstall rm-config