Skip to content

Commit 9f2dcdb

Browse files
committed
modified Makefile for ocamlopt
1 parent c766e2c commit 9f2dcdb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
*.cmi
22
*.cmo
3+
*.cmx
4+
*.o
35
*.exe
46
*.html
57
*.tex

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ parser.mli parser.ml: parser.mly
1313
types.cmo: $(SRCS)
1414
ocamlc -c $^
1515
$(TARGET): $(SRCS)
16-
ocamlc -o $(TARGET) $^
16+
ocamlopt -o $(TARGET) $^
1717

1818
clean:
1919
rm -f $(TARGET)

0 commit comments

Comments
 (0)