summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-04-13 15:00:42 +0200
committerYorhel <git@yorhel.nl>2010-04-13 15:00:42 +0200
commitf659b52feb3bef0e7cbca0db1d89fc25e4281722 (patch)
treea43da420e3b4a87435dc7a5597cc4b4267eddf19
parent5e045b40892b6b1ccd420a76964533bdcdaed3e2 (diff)
Minor Makefile improvement
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4ea59be..30570b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
+run: all
+ ./main.native
+
all:
ocamlbuild -cflags -I,+lablgl -lflags -I,+lablgl -lib unix -lib lablgl -lib lablglut main.native
- #ocamlopt -I +lablgl lablgl.cmxa lablglut.cmxa main.ml -o main.native
- ./main.native
clean:
ocamlbuild -clean