From 35e8419fc638c73f55ead320acd8c38429e758f0 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 3 Feb 2008 18:37:26 +0000 Subject: Stop the repeating LEMON/DEP for the CSS parser with Makefile.unix svn path=/trunk/netsurf/; revision=3832 --- Makefile.sources | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.sources') diff --git a/Makefile.sources b/Makefile.sources index ceb89ec06..fab8a4481 100644 --- a/Makefile.sources +++ b/Makefile.sources @@ -64,6 +64,10 @@ css/parser.c css/parser.h: css/parser.y $(VQ)echo " LEMON: css/parser.y" $(Q)# If lemon really fails hard, we'll never know, sorry $(Q)cd css; lemon parser.y || true + $(Q)# Unfortunately if the output hasn't changed, lemon doesn't + $(Q)# alter the file and thus make gets confused. + $(Q)touch css/parser.c css/parser.h + css/scanner.c: css/scanner.l $(VQ)echo " RE2C: css/scanner.l" $(Q)cd css; re2c -s scanner.l > scanner.c -- cgit v1.2.3