$(RANLIB) $@
#
-# Files with errors
+# When we build this file, we're using a .c file that's in the object directory,
+# so we need to add the source directory to the includes to pick up local headers.
#
-# The autogenerated file from bison has an unused label
-
error_table.o: error_table.c
- $(CC) $(CFLAGS) @CFLAGS_NOERROR@ -c $<
+ $(CC) $(CFLAGS) -I${srcdir} @CFLAGS_NOERROR@ -c $<
#
# Installation targets