Permalink
Browse files

update makefile to support OPAOPT variable

  • Loading branch information...
1 parent 3b85fc3 commit 87a0c6712cb5c70faa23834ac23637f6e025a3c7 Hugo Heuzard committed Jul 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
4 Makefile
@@ -1,7 +1,7 @@
INCLUDE=-I +cairo
LINK=--mllopt cairo.cmxa
OPB=opa-plugin-builder
-OPA=opa
+OPA=opa $(OPAOPT)
all: opawhiteboard.exe
@@ -12,7 +12,7 @@ opawhiteboard.exe.old:
$(OPA) src/buffer.opa src/client.opa src/builder.opa src/main.opa -o opawhiteboard.exe
opawhiteboard.exe: cairo.opp
- $(OPA) $(INCLUDE) $(LINK) cairo.opp src/opacairo/buffer.opa src/opacairo/client.opa src/opacairo/main.opa -o opawhiteboard.exe
+ $(OPA) $(INCLUDE) $(LINK) cairo.opp src/opacairo/buffer.opa src/opacairo/client.opa src/opacairo/main.opa -o opawhiteboard.exe
clean:
rm -Rf *.exe _build _tracks *.log

0 comments on commit 87a0c67

Please sign in to comment.