Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

'Makefile' and '.gitignore' initial commit

  • Loading branch information...
commit 622870ddf93638dd8e2823aed4ec683c69ca4b33 1 parent afc5623
Hugo Venturini authored
Showing with 22 additions and 2 deletions.
  1. +1 −0  .gitignore
  2. +19 −0 Makefile
  3. +2 −2 README
View
1  .gitignore
@@ -0,0 +1 @@
+main.exe
View
19 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
View
4 README
@@ -3,7 +3,7 @@
@author Matthieu Guffroy
BUILDING
- opa src/tetris.opa src/main.opa -o main.exe
+ make
LAUNCHING
@@ -21,4 +21,4 @@ TODO LIST :
* display next object
FUTURE :
-* Multiplayer (maybe a tetrinet like :) )
+* Multiplayer (maybe a tetrinet like :) )
Please sign in to comment.
Something went wrong with that request. Please try again.