From 0eabb14c55efa4db0eb90d31611722121802740a Mon Sep 17 00:00:00 2001 From: randy Date: Sun, 3 Apr 2022 16:53:15 -0400 Subject: [PATCH] Gave up on windows make rule, do it yourself, asshole --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.49.0