Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[update] minor updates to the makefile, and documenting hello_grid
- Loading branch information
Mathieu Barbin
committed
Mar 28, 2011
1 parent
e4bbebe
commit eaacc4d
Showing
2 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
# Tictactopa. (c) MLstate - 2010 | ||
# Tictactopa. (c) MLstate - 2010-2011 | ||
# @author Mathieu Barbin | ||
|
||
.PHONY: doc | ||
|
||
OPA=opa.exe | ||
|
||
tictactopa=tictactopa.opack | ||
opack=tictactopa.opack | ||
conf=tictactopa.conf | ||
|
||
all: tictactopa.exe | ||
tictactopa=$(opack) $(conf) | ||
|
||
# for compiling under emacs, like an ide for poor | ||
loop: | ||
while [ 1 ] ; do make -B all || true ; sleep 5 ; done | ||
all: tictactopa.exe | ||
|
||
tictactopa.exe: | ||
$(OPA) $(OPAOPT) $(tictactopa) -o tictactopa.exe | ||
|
||
hello_grid.exe: | ||
$(OPA) $(OPAOPT) src/hello_grid.opa -o hello_grid.exe | ||
|
||
doc: | ||
$(OPA) $(OPAOPT) $(tictactopa) --generate-interface | ||
opadoc.exe src multitub | ||
|
||
clean: | ||
rm -rf *.opx | ||
rm tictactopa.exe | ||
rm -f *.exe | ||
rm -rf _build _tracks | ||
rm -f *.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters