14 lines
211 B
Makefile
14 lines
211 B
Makefile
|
|
# Variables
|
||
|
|
LIBS:= -lSDL2main -lSDL2 -lSDL2_mixer -lSDL2_image
|
||
|
|
|
||
|
|
# Instructions
|
||
|
|
all: compile link clean
|
||
|
|
|
||
|
|
compile:
|
||
|
|
g++ -c -I include source/*.cpp
|
||
|
|
|
||
|
|
link:
|
||
|
|
g++ *.o -L lib $(LIBS) -o debug/flappybird
|
||
|
|
|
||
|
|
clean:
|
||
|
|
rm *.o
|