diff options
author | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2020-06-05 23:48:03 +0200 |
---|---|---|
committer | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2020-06-18 11:07:43 +0200 |
commit | b7d8a97e91218b99b425e380c1276dfcdfe53f7d (patch) | |
tree | 9bf21b730d49241c164cf1e4065b25a6b60004c2 /lex | |
parent | 2ee6e82925d1d6a8d5d5aca9827217f6c7b891e2 (diff) | |
download | ocaml-b7d8a97e91218b99b425e380c1276dfcdfe53f7d.tar.gz |
lex/Makefile: simplification
Diffstat (limited to 'lex')
-rw-r--r-- | lex/Makefile | 4 |
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 |