mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Added proper slashesh for linking directories. Using '\' may sometimes give 'No such file or directory' error.
@ -8,27 +8,27 @@ files = main.c
|
||||
output = main.exe
|
||||
|
||||
Debug:
|
||||
gcc -g -o obj\Debug\$(output) $(files) \
|
||||
c:\raylib\raylib\raylib_icon \
|
||||
-Ic:\raylib\raylib\src \
|
||||
-Lc:\raylib\MinGW\bin \
|
||||
-Lc:\raylib\MinGW\include\GLFW \
|
||||
gcc -g -o obj/Debug/$(output) $(files) \
|
||||
c:/raylib/raylib/raylib_icon \
|
||||
-Ic:/raylib/raylib/src \
|
||||
-Lc:/raylib/MinGW/bin \
|
||||
-Lc:/raylib/MinGW/include/GLFW \
|
||||
-Iexternal -lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm \
|
||||
-std=c99 -Wl,-allow-multiple-definition -Wl,--subsystem,windows -Wall
|
||||
|
||||
Release:
|
||||
gcc -s -o obj\Debug\$(output) $(files) \
|
||||
c:\raylib\raylib\raylib_icon \
|
||||
-Ic:\raylib\raylib\src \
|
||||
-Lc:\raylib\MinGW\bin \
|
||||
-Lc:\raylib\MinGW\include\GLFW \
|
||||
c:/raylib/raylib/raylib_icon \
|
||||
-Ic:/raylib/raylib/src \
|
||||
-Lc:/raylib/MinGW/bin \
|
||||
-Lc:/raylib/MinGW/include/GLFW \
|
||||
-Iexternal -lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm \
|
||||
-std=c99 -Wl,-allow-multiple-definition -Wl,--subsystem,windows
|
||||
|
||||
cleanDebug:
|
||||
del /F /Q obj\Debug\*.*
|
||||
del /F /Q obj/Debug/*.*
|
||||
|
||||
cleanRelease:
|
||||
del /F /Q obj\Release\*.*
|
||||
del /F /Q obj/Release/*.*
|
||||
```
|
||||
Change files and output variables as you see fit.
|
||||
Reference in New Issue
Block a user