diff options
author | Andy Belle-Isle <abelleisle@roadrunner.com> | 2015-09-07 10:14:13 -0400 |
---|---|---|
committer | Andy Belle-Isle <abelleisle@roadrunner.com> | 2015-09-07 10:14:13 -0400 |
commit | 1ff9191a69756aaf61906566765cceca39f2847c (patch) | |
tree | b30cef46759370794bd43ab91b92772bf66fa31d /Makefile | |
parent | 5ce40faac9f04c1a46e123589153964067e39378 (diff) | |
parent | b44de8b7645da3356a938b6da25ebba3b672e0a6 (diff) |
Merge remote-tracking branch 'origin/master'
Conflicts:
src/main.cpp
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..28effcc --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +FLAGS_LINUX = -lGL -lSDL_image +FLAGS_WIN32 = -lopengl32 -lmingw32 -lSDL2_Image +FLAGS = -Wall -Werror -lSDL2main -lSDL2 + +all: + @g++ src/main.cpp -o main $(FLAGS_LINUX) $(FLAGS) + +win32: + @g++ src/main.cpp -o main.exe $(FLAGS_WIN32) $(FLAGS) + +clean: + rm main* |