Permalink
Browse files

[update] compilation with autobuild separation option

  • Loading branch information...
1 parent 055b6f5 commit c3ec8ea1958da54bed9c06d0ecc08052fcf53714 Mathieu Barbin committed Oct 25, 2010
Showing with 25 additions and 2 deletions.
  1. +3 −2 Makefile
  2. +22 −0 tictactopa.conf
View
@@ -4,14 +4,15 @@
.PHONY: doc
OPA=s3opa.exe
-SEPARATION=--separated -I $(MLSTATELIBS)/opa-packages
+SEPARATION=--separated --autobuild -I $(MLSTATELIBS)/opa-packages
tictactopa=tictactopa.opack
+conf=tictactopa.conf
all: tictactopa.exe
sep:
- $(OPA) $(OPAOPT) $(SEPARATION) $(tictactopa) -o tictactopa.exe
+ $(OPA) $(OPAOPT) $(SEPARATION) --conf $(conf) $(tictactopa) -o tictactopa.exe
loop:
while [ 1 ] ; do make -B all || true ; sleep 5 ; done
View
@@ -0,0 +1,22 @@
+# this is a conf file for packages
+# this kind of file is optional, it used in case of refactoring
+tictactopa.colset:
+ src/colset.opa
+
+tictactopa.grid:
+ src/grid.opa
+
+tictactopa.game:
+ src/game.opa
+
+tictactopa.ia:
+ src/ia.opa
+
+multitub.opa:
+ multitub/multitub.opa
+ src/messages.opa
+ src/server_implementation.opa
+ src/client_implementation.opa
+ src/client.opa
+ src/funaction.opa
+ src/main.opa

0 comments on commit c3ec8ea

Please sign in to comment.