summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-31 11:04:46 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-31 11:04:46 -0800
commit4cf38a5569d937142609441a27abf0edb9023da4 (patch)
treeeb3e9f177bd4f9bbcc15deabc9c764e421c59972 /Makefile
parent834266acfdb2aa63e07ae03b08ae11ca21e00dcf (diff)
parente8a994cddc17eabaa415c73d970205aa489a756c (diff)
Merge pull request #256 from nwellnhof/windows_fixes
Windows fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e0679e5..e00107a 100644
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,11 @@ $(SRCDIR)/html_unescape.h: $(SRCDIR)/html_unescape.gperf
$(SRCDIR)/case_fold_switch.inc: $(DATADIR)/CaseFolding-3.2.0.txt
perl mkcasefold.pl < $< > $@
+# We include scanners.c in the repository, so this shouldn't
+# normally need to be generated.
+$(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re
+ re2c --case-insensitive -b -i --no-generation-date -o $@ $<
+
test: $(SPEC) $(BUILDDIR)
make -C $(BUILDDIR) test ARGS="-V"