aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-26 08:49:10 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-26 08:49:10 -0400
commite017c5cbc9f1cf357ca82593e5d2829dd7f729ce (patch)
treea65b9516a4e6a2ff6f9c292da97d5f6f6f84b3bd /Makefile
parent99c8a41cde3e5ec74f35660c8701de4326ffcd21 (diff)
bug fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index a362803..8ac3b3d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
-LIBS = -lGL
-WIN_LIBS = -lopengl32 -lmingw32
+LIBS = -lGL -lGLEW -lSDL2main -lSDL2 -lfreetype -lSDL2_image -lSDL2_mixer
-FLAGS = -std=c++11 -Iinclude -Iinclude/freetype2 -lGL -lGLEW -lSDL2 -lfreetype -lSDL2_image -lSDL2_mixer
+FLAGS = -m32 -std=c++11 -Iinclude -Iinclude/freetype2
all:
@rm -f out/*.o
@@ -9,9 +8,6 @@ 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