Add files via upload

This commit is contained in:
felixalbrigtsen
2020-05-04 23:17:22 +02:00
committed by GitHub
parent 31cf987f1e
commit 5719c6c8ca
5 changed files with 512 additions and 0 deletions

13
makefile Normal file
View File

@@ -0,0 +1,13 @@
LINKER_FLAGS = -lsfml-graphics -lsfml-window -lsfml-system
main: main.cpp
g++ -c main.cpp
game: tetris.cpp tetris.hpp
g++ -c tetris.cpp -o game.o
out: main game
g++ main.o game.o -o out $(LINKER_FLAGS)
clean:
rm main.o game.o out