diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-08 09:10:08 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-08 09:10:08 -0400 |
commit | 3120be4f673c3e106c47ee250ca02179bacec52f (patch) | |
tree | e3f8fdcf70e40fdf3320b3f3bad5d392e4149160 /Makefile | |
parent | 281da1f81b1eef9e05e881e12d986b6b45ce8696 (diff) |
improved inventory, debug flags
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,7 @@ -LIBS = -lGL -lSDL2_image -lSDL2_mixer
+LIBS = -lGL
+WIN_LIBS = -lopengl32 -lmingw32
-FLAGS = -m32 -std=c++11 -Iinclude -Iinclude/freetype2 -lSDL2main -lSDL2 -lfreetype
+FLAGS = -m32 -std=c++11 -Iinclude -Iinclude/freetype2 -lSDL2main -lSDL2 -lfreetype -lSDL2_image -lSDL2_mixer
all: @rm -f out/*.o @@ -8,6 +9,9 @@ all: @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
|