From 0efbe28bd64570b48c848342e7de7078ff85c399 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Thu, 27 Jun 2024 09:03:07 +0200 Subject: [PATCH] - Afegit makefile basic per a windows i linux --- .gitignore | 1 + Makefile | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index f8906c5..a6435f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ shaders +shaders.exe diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..098c37b --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +windows: + g++ main.cpp -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lopengl32 -mwindows -o shaders + +linux: + g++ main.cpp -lSDL2 -lSDL2_image -lGL -o shaders