summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu.ocaml.rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu.ocaml.rules.mk b/gnu.ocaml.rules.mk
index a259208..9e5e620 100644
--- a/gnu.ocaml.rules.mk
+++ b/gnu.ocaml.rules.mk
@@ -15,7 +15,7 @@
# PERFORMANCE OF THIS SOFTWARE.
%.o: %.c
- $(OCAMLC) -c -ccopt "$(CFLAGS)" $<
+ $(OCAMLC) -c -ccopt "$(CFLAGS) -o $@" $<
%.cmi: %.mli
$(OCAMLC) $(OCAMLFLAGS) $<
%.cmo: %.ml