blob: da4e36ab6151995f96134aeef117aba0151f9164 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
LIBS = -lGL
WIN_LIBS = -lopengl32 -lmingw32
FLAGS = -m32 -std=c++11 -Iinclude -Iinclude/freetype2 -lGL -lGLEW -lSDL2main -lSDL2 -lfreetype -lSDL2_image -lSDL2_mixer
all:
@rm -f out/*.o
@cd src; $(MAKE) $(MFLAGS)
@echo " CXX main.cpp"
@g++ $(FLAGS) -o main main.cpp out/*.o $(LIBS)
win32:
@g++ $(FLAGS) -o main main.cpp src/*.cpp $(WIN_LIBS)
clean:
@echo " RM main"
@-rm -f main
@echo " RM out/*.o"
@-rm -f out/*.o
|