- Afegit makefile basic per a windows i linux

This commit is contained in:
2024-06-27 09:03:07 +02:00
parent 31af39b61b
commit 0efbe28bd6
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
shaders
shaders.exe

5
Makefile Normal file
View File

@@ -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