From: randy Date: Sun, 3 Apr 2022 20:53:15 +0000 (-0400) Subject: Gave up on windows make rule, do it yourself, asshole X-Git-Url: http://git.mcshandy.xyz/gitweb.cgi?a=commitdiff_plain;h=0eabb14c55efa4db0eb90d31611722121802740a;p=assteroids Gave up on windows make rule, do it yourself, asshole --- diff --git a/Makefile b/Makefile index de14bc8..37baf83 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ LIBS = -lraylib -WINLIBS = -lraylib -lgdi32 -lwinmm +WINLIBS = -lgdi32 -lwinmm +# build in linux for linux game: game.cpp - $(CXX) -static game.cpp $(LIBS) -o assteroids + $(CXX) game.cpp $(LIBS) -o assteroids +# build in windows for windows (raylib distros with mingw) win_game: game.cpp - $(CXX) -static game.cpp $(WINLIBS) -o assteroids.exe + $(CXX) game.cpp $(LIBS) $(WINLIBS) -o assteroids.exe