aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2018-06-19 21:08:13 -0400
committerGravatar Jason Gross <jgross@mit.edu>2018-06-19 21:08:13 -0400
commit014f41c1640e67f550c8cacd5e0c66801db61d70 (patch)
tree906f6305b45c819cea279449199856f9c0c89dbd /Makefile
parent244900c217fa6fca5afec82c2a7ba3aa623304f4 (diff)
Be more aggressive about removing \r
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9dfbb75c3..16ad4751f 100644
--- a/Makefile
+++ b/Makefile
@@ -469,12 +469,12 @@ STANDALONE := \
$(STANDALONE:%=src/Experiments/NewPipeline/ExtractionOCaml/%.ml) : %.ml : %.v src/Experiments/NewPipeline/StandaloneOCamlMain.vo
$(SHOW)'COQC $< > $@'
$(HIDE)$(TIMER) $(COQC) $(COQDEBUG) $(COQFLAGS) $(COQLIBS) $< > $@.tmp
- $(HIDE)sed s'/\r\n/\n/g' $@.tmp > $@ && rm -f $@.tmp
+ $(HIDE)sed s'/\r\n/\n/g' -e s'/\r//g' $@.tmp > $@ && rm -f $@.tmp
$(STANDALONE:%=src/Experiments/NewPipeline/ExtractionHaskell/%.hs) : %.hs : %.v src/Experiments/NewPipeline/StandaloneHaskellMain.vo src/Experiments/NewPipeline/haskell.sed
$(SHOW)'COQC $< > $@'
$(HIDE)$(TIMER) $(COQC) $(COQDEBUG) $(COQFLAGS) $(COQLIBS) $< > $@.tmp
- $(HIDE)sed s'/\r\n/\n/g' $@.tmp | sed -f src/Experiments/NewPipeline/haskell.sed > $@ && rm -f $@.tmp
+ $(HIDE)sed s'/\r\n/\n/g' -e s'/\r//g' $@.tmp | sed -f src/Experiments/NewPipeline/haskell.sed > $@ && rm -f $@.tmp
$(STANDALONE:%=src/Experiments/NewPipeline/ExtractionOCaml/%) : % : %.ml
$(TIMER) ocamlopt -o $@ $<