summaryrefslogtreecommitdiff
path: root/mk/lexyacc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/lexyacc.mk')
-rw-r--r--mk/lexyacc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/lexyacc.mk b/mk/lexyacc.mk
index 51d4e5b..ebd7b19 100644
--- a/mk/lexyacc.mk
+++ b/mk/lexyacc.mk
@@ -1,6 +1,6 @@
NECFLAGS = $(subst -Werror,,$(subst -Wall,,$(CFLAGS)))
-%.c: %.y
+%.h %.c: %.y
yacc -d -o$*.c $<
%.c: %.l