aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/Makefile b/example/Makefile
index 66c96a0..0bce1ec 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -8,7 +8,8 @@ exec: bcode.o main.o
bcode.o: ../bcode.c
$(CC) $(CFLAGS) -c $^ -o $@
-../bcode.c: rules.py
+../bcode.c: ../gen/select.h
+../gen/select.h: rules.py
cd .. && ./bcgen example/rules.py
touch ../bcode.c # just to get make to wake up