summaryrefslogtreecommitdiff
path: root/lex
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2020-06-05 23:48:03 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2020-06-18 11:07:43 +0200
commitb7d8a97e91218b99b425e380c1276dfcdfe53f7d (patch)
tree9bf21b730d49241c164cf1e4065b25a6b60004c2 /lex
parent2ee6e82925d1d6a8d5d5aca9827217f6c7b891e2 (diff)
downloadocaml-b7d8a97e91218b99b425e380c1276dfcdfe53f7d.tar.gz
lex/Makefile: simplification
Diffstat (limited to 'lex')
-rw-r--r--lex/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lex/Makefile b/lex/Makefile
index 5601d4f7ad..86ac86b4ee 100644
--- a/lex/Makefile
+++ b/lex/Makefile
@@ -42,10 +42,10 @@ allopt: ocamllex.opt
opt.opt: allopt
ocamllex: $(OBJS)
- $(CAMLC) $(LINKFLAGS) -compat-32 -o ocamllex $(OBJS)
+ $(CAMLC) $(LINKFLAGS) -compat-32 -o $@ $^
ocamllex.opt: $(OBJS:.cmo=.cmx)
- $(CAMLOPT_CMD) -o ocamllex.opt $(OBJS:.cmo=.cmx)
+ $(CAMLOPT_CMD) -o $@ $^
clean::
rm -f ocamllex ocamllex.opt