Adding config.h support. - thinglaunch - A simple command and password promtper… | |
git clone git://bitreich.org/thinglaunch | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 7fad8c318634ffaf83f999cdf49aedc9e575f898 | |
parent 606c0f24754b284bacbb8de22ef5d0c73f065e8f | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sun, 27 Mar 2011 18:53:39 +0200 | |
Adding config.h support. | |
Diffstat: | |
M Makefile | 4 ++++ | |
A config.def.h | 5 +++++ | |
2 files changed, 9 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -15,6 +15,10 @@ options: | |
@echo "LDFLAGS = ${LDFLAGS}" | |
@echo "CC = ${CC}" | |
+config.h: config.mk | |
+ @echo creating $@ from config.def.h | |
+ @cp config.def.h $@ | |
+ | |
.c.o: | |
@echo CC $< | |
@${CC} -c ${CFLAGS} $< | |
diff --git a/config.def.h b/config.def.h | |
@@ -0,0 +1,5 @@ | |
+static const char *font = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*"; | |
+static const char *prompt = "exec> "; | |
+static const char *normbgcolor = "#222222"; | |
+static const char *normfgcolor = "#cccccc"; | |
+ |