commit 85babaa28cb492e6900e86c030c30a8abf4aaa1a
parent 02e750ce727c0cd31808ba9fde3dfe9277fb00e7
Author: ssnf <ssnf@ssnf.xyz>
Date: Mon, 9 Aug 2021 19:30:28 +0000
fix compile errors
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -8,6 +8,8 @@ all: sim
config.h:
cp config.def.h $@
+${OBJ}: config.h
+
sim: ${OBJ}
${CC} ${OBJ} -o $@
diff --git a/config.def.h b/config.def.h
@@ -1,4 +1,4 @@
-Key keys = {
+Key keys[] = {
{ 'q', quit },
{ 'h', move, Left },
{ 'j', move, Down },