Skip to content

Commit

Permalink
'Makefile' and '.gitignore' initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Venturini committed Jun 5, 2011
1 parent afc5623 commit 622870d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
main.exe
19 changes: 19 additions & 0 deletions Makefile
@@ -0,0 +1,19 @@
OPA=opa
OPA_OPTIONS=

GIT=git

LOGS=error.log access.log
BUILD_DIRS=_build _tracks *.opx
SRC=src/tetris.opa src/main.opa

EXEC=main.exe

all:
$(OPA) $(OPA_OPTIONS) $(SRC) -o $(EXEC)

clean:
rm -f $(EXEC)
rm -fr $(BUILD_DIRS)
rm -fr $(LOGS)
$(GIT) clean -f
4 changes: 2 additions & 2 deletions README
Expand Up @@ -3,7 +3,7 @@
@author Matthieu Guffroy

BUILDING
opa src/tetris.opa src/main.opa -o main.exe
make


LAUNCHING
Expand All @@ -21,4 +21,4 @@ TODO LIST :
* display next object

FUTURE :
* Multiplayer (maybe a tetrinet like :) )
* Multiplayer (maybe a tetrinet like :) )

0 comments on commit 622870d

Please sign in to comment.