]> code.bitgloo.com Git - clyne/gamedev.git/commitdiff
switched gcc to g++
authorClyne Sullivan <tullivan99@gmail.com>
Fri, 4 Sep 2015 19:46:10 +0000 (15:46 -0400)
committerClyne Sullivan <tullivan99@gmail.com>
Fri, 4 Sep 2015 19:46:10 +0000 (15:46 -0400)
Makefile

index 66f1c9ca2dc8674195f71c5525d882eff394a1ab..28effccbc4f7be06b481cc732e51c2b140b9151d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
-FLAGS_LINUX = -lGL                                     -lSDL_image
-FLAGS_WIN32 = -lopengl32 -lmingw32     -lSDL2_Image
+FLAGS_LINUX = -lGL                 -lSDL_image
+FLAGS_WIN32 = -lopengl32 -lmingw32 -lSDL2_Image
 FLAGS = -Wall -Werror -lSDL2main -lSDL2
 
 all:
-       @gcc src/main.cpp -o main $(FLAGS_LINUX) $(FLAGS)
-       
+       @g++ src/main.cpp -o main $(FLAGS_LINUX) $(FLAGS)
+
 win32:
-       @gcc src/main.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS)
+       @g++ src/main.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS)
 
 clean:
        rm main*