18 lines
240 B
Makefile
18 lines
240 B
Makefile
compile:
|
|
g++ -g source/*.cpp -lSDL2 -o gb
|
|
|
|
run: compile
|
|
./gb tetris.gb
|
|
|
|
debug: compile
|
|
gdb --args gb tetris.gb
|
|
|
|
debug1: compile
|
|
gdb -ex run gb
|
|
|
|
release:
|
|
g++ -O3 source/*.cpp -lSDL2 -o gb
|
|
|
|
profile:
|
|
g++ -g source/*.cpp -lSDL2 -o gb -pg
|