diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,12 +1,12 @@ -FLAGS_LINUX = -lGL -lSDL2_image -FLAGS_WIN32 = -lopengl32 -lmingw32 -lSDL2_Image -FLAGS = -m32 -Iinclude -Wall -Werror -lSDL2main -lSDL2 - -all: - @g++ src/*.cpp -o main $(FLAGS_LINUX) $(FLAGS) - -win32: - @g++ -L lib/ src/*.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS) - -clean: - rm main* +FLAGS_LINUX = -lGL -lSDL2_image
+FLAGS_WIN32 = -lopengl32 -lmingw32 -lSDL2_Image
+FLAGS = -m32 -Iinclude -Wall -Werror -lSDL2main -lSDL2
+
+all:
+ @g++ src/*.cpp -o main $(FLAGS_LINUX) $(FLAGS)
+
+win32:
+ @g++ -L lib/ src/*.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS)
+
+clean:
+ rm main*
|