summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0868099..ffa54b7 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,10 @@ options:
.c.o:
${CC} -c ${CFLAGS} $<
-${OBJ}: config.mk
+${OBJ}: config.h config.mk
+
+config.h:
+ cp config.def.h $@
cras: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}