blob: 7b8b834353f327173311f1114f68ae7e0539c932 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
FLAGS_LINUX = -lGL -lSDL2_image -lfreetype
FLAGS_WIN32 = -lopengl32 -lmingw32 -lSDL2_Image -lfreetype
FLAGS = -m32 -std=c++11 -Iinclude -Iinclude/freetype2 -Wall -Werror -lSDL2main -lSDL2
all:
@g++ src/*.cpp -o main $(FLAGS_LINUX) $(FLAGS)
win32:
@g++ -L lib/ src/*.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS)
clean:
rm main*
|