summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1995-08-10 12:50:19 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1995-08-10 12:50:19 +0000
commit4b86eee145dde92965b1c0c27f721ba972dddd4d (patch)
tree92bb52d28c030bb6d9bd9c356bf7cfe2ca47a6b8 /Makefile
parent71f6a944816e13c17f9ce9abde4dd5a2c2ddb1b6 (diff)
downloadocaml-4b86eee145dde92965b1c0c27f721ba972dddd4d.tar.gz
Correction de la generation de asmcomp/emit.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@200 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b37f46c3ba..30823323f8 100644
--- a/Makefile
+++ b/Makefile
@@ -312,8 +312,8 @@ beforedepend:: asmcomp/proc.ml
# Preprocess the code emitters
asmcomp/emit.ml: asmcomp/emit_$(ARCH).mlp tools/cvt_emit
- tools/cvt_emit asmcomp/emit_$(ARCH).mlp > asmcomp/emit.ml \
- || rm -f asmcomp/emit.ml
+ perl tools/cvt_emit asmcomp/emit_$(ARCH).mlp > asmcomp/emit.ml \
+ || { rm -f asmcomp/emit.ml; exit 2; }
clean::
rm -f asmcomp/emit.ml