aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 8a814d7452260fd299f4cea89257baf6d29997e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FLAGS_LINUX = -lGL                 -lSDL_image
FLAGS_WIN32 = -lopengl32 -lmingw32 -lSDL2_Image
FLAGS = -m32 -Iinclude -Wall -Werror -lSDL2main -lSDL2

all:
	@g++ src/main.cpp -o main $(FLAGS_LINUX) $(FLAGS)

win32:
	@g++ src/main.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS)

clean:
	rm main*