Skip to content

Commit a898540

Browse files
committed
Added Makefile. Fixes #37
1 parent d0faf67 commit a898540

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
CXXARGS = -g -std=c++11 -D _DEBUG
2+
3+
all : opengl_tutorial tools/modelexporter
4+
5+
opengl_tutorial :
6+
g++ $(CXXARGS) main.cpp shader.cpp -o opengl_tutorial -lGL -lSDL2 -lGLEW
7+
8+
tools/modelexporter :
9+
g++ $(CXXARGS) tools/modelexporter.cpp -o tools/modelexporter -lassimp
10+
11+
clean :
12+
rm opengl_tutorial tools/modelexporter

0 commit comments

Comments
 (0)