Use config.def.h instead of config.h - smdev - suckless mdev | |
git clone git://git.suckless.org/smdev | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 920c9b0caca0a9c372760b1bda223db3279068d8 | |
parent 18be0760ce0ff089f6bfe802b81ef7fd8f6c7cd0 | |
Author: sin <[email protected]> | |
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(-) | |
--- | |
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 $@ | |
diff --git a/config.h b/config.def.h |