summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-09-05 11:01:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-09-05 11:01:28 -0700
commit2e241165326031dd6f93d770c32eaa95a8dcfb4c (patch)
tree6c5f4e6098796b06a503c9e824ae0ae3c9c6c9b8 /Makefile
parentdb74dffd138bbe1e054b7bae4d8f5039d6c8844d (diff)
parent0a0cdcf1df12ef6a0dcdaf5d37894438aae50bc4 (diff)
Merge branch 'master' of github.com:jgm/stmd
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ca2825e..55b6645 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ oldtests:
make -C oldtests --quiet clean all
test: spec.txt
- perl runtests.pl $(PROG) $<
+ perl runtests.pl $< $(PROG)
testjs: spec.txt
node js/test.js
@@ -45,7 +45,7 @@ $(PROG): $(SRCDIR)/main.c $(SRCDIR)/inlines.o $(SRCDIR)/blocks.o $(SRCDIR)/detab
$(CC) $(LDFLAGS) -o $@ $^
$(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re
- re2c --case-insensitive -bis $< > $@
+ re2c --case-insensitive -bis $< > $@ || (rm $@ && false)
$(SRCDIR)/case_fold_switch.c: $(DATADIR)/CaseFolding-3.2.0.txt
perl mkcasefold.pl < $< > $@