From: Clyne Sullivan Date: Fri, 4 Sep 2015 19:46:10 +0000 (-0400) Subject: switched gcc to g++ X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=b44de8b7645da3356a938b6da25ebba3b672e0a6;p=clyne%2Fgamedev.git switched gcc to g++ --- diff --git a/Makefile b/Makefile index 66f1c9c..28effcc 100644 --- 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*