Use config.def.h instead of config.h - smdev - suckless mdev
(HTM) git clone git://git.suckless.org/smdev
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 920c9b0caca0a9c372760b1bda223db3279068d8
(DIR) parent 18be0760ce0ff089f6bfe802b81ef7fd8f6c7cd0
(HTM) Author: sin <sin@2f30.org>
Date: Fri, 14 Feb 2014 10:46:40 +0000
Use config.def.h instead of config.h
Diffstat:
M Makefile | 6 +++++-
R config.h -> config.def.h | 0
2 files changed, 5 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -32,7 +32,11 @@ binlib: util.a
bin: $(BIN)
-$(OBJ): util.h config.mk
+$(OBJ): config.h util.h config.mk
+
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
.o:
@echo LD $@
(DIR) diff --git a/config.h b/config.def.h