sfml_tetris/makefile

14 lines
241 B
Makefile

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 tetris $(LINKER_FLAGS)
clean:
rm main.o game.o out