From ddaf8d100326eacab0ccd7e5e0dcf78628ed56c2 Mon Sep 17 00:00:00 2001 From: rosewing Date: Sat, 7 Mar 2026 10:03:24 +1000 Subject: [PATCH] make it so that you can like actually build this for windows --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5ce10aa..cf68af4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -run: - g++ *.c *.cpp -o main.exe -lglfw -lGL && ./app +run_linux: + g++ *.c *.cpp -o app -lglfw -lGL && ./app +run_windows: + g++ *.c *.cpp -o app.exe -lglfw -lGL && ./app.exe build: - g++ *.c *.cpp -o app -lglfw -lGL + g++ *.c *.cpp -o app -lglfw -lGL && g++ *.c *.cpp -o main.exe -lglfw -lGL