From 799da32081fffdd896496bd9149c9fe612c410a2 Mon Sep 17 00:00:00 2001 From: asgh Date: Thu, 4 Sep 2014 03:57:17 -0400 Subject: Don't leave empty file if re2c is missing Fixes Issue #35 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ee3c204..8ded96b 100644 --- a/Makefile +++ b/Makefile @@ -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 $@ $(SRCDIR)/case_fold_switch.c: $(DATADIR)/CaseFolding-3.2.0.txt perl mkcasefold.pl < $< > $@ -- cgit v1.2.3