From 0ef88e3bb1cc9fea830978723813dd8d23837039 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Wed, 17 Apr 2013 08:48:53 +0200 Subject: [PATCH] Make the main target more generic, to allow compilation of tools/*.native too, instead of only src/*.native. --- Remakefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Remakefile.in b/Remakefile.in index eecc365..d173e83 100644 --- a/Remakefile.in +++ b/Remakefile.in @@ -18,7 +18,7 @@ configure config.status: configure.in autoconf ./config.status --recheck -src/%.native: +%.native: base=${1%.native} src=${base}.ml obj=${base}.cmx @@ -28,7 +28,7 @@ src/%.native: OBJS=$(@OCAMLDEP@ $OCAMLDEPNATIVE $OCAMLFINDFLAGS -modules $SRCS | tools/osort.sh cmx) @OCAMLOPT@ -o "$1" @OCAMLFLAGS@ @OCAMLOPTFLAGS@ $OCAMLFINDLINKFLAGS $OCAMLFINDFLAGS $OBJS -src/%.byte: +%.byte: base=${1%.byte} src=${base}.ml obj=${base}.cmo -- 2.17.1