mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-28 09:49:18 -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
|
output = main.exe
|
||||||
|
|
||||||
Debug:
|
Debug:
|
||||||
gcc -g -o obj\Debug\$(output) $(files) \
|
gcc -g -o obj/Debug/$(output) $(files) \
|
||||||
c:\raylib\raylib\raylib_icon \
|
c:/raylib/raylib/raylib_icon \
|
||||||
-Ic:\raylib\raylib\src \
|
-Ic:/raylib/raylib/src \
|
||||||
-Lc:\raylib\MinGW\bin \
|
-Lc:/raylib/MinGW/bin \
|
||||||
-Lc:\raylib\MinGW\include\GLFW \
|
-Lc:/raylib/MinGW/include/GLFW \
|
||||||
-Iexternal -lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm \
|
-Iexternal -lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm \
|
||||||
-std=c99 -Wl,-allow-multiple-definition -Wl,--subsystem,windows -Wall
|
-std=c99 -Wl,-allow-multiple-definition -Wl,--subsystem,windows -Wall
|
||||||
|
|
||||||
Release:
|
Release:
|
||||||
gcc -s -o obj\Debug\$(output) $(files) \
|
gcc -s -o obj\Debug\$(output) $(files) \
|
||||||
c:\raylib\raylib\raylib_icon \
|
c:/raylib/raylib/raylib_icon \
|
||||||
-Ic:\raylib\raylib\src \
|
-Ic:/raylib/raylib/src \
|
||||||
-Lc:\raylib\MinGW\bin \
|
-Lc:/raylib/MinGW/bin \
|
||||||
-Lc:\raylib\MinGW\include\GLFW \
|
-Lc:/raylib/MinGW/include/GLFW \
|
||||||
-Iexternal -lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm \
|
-Iexternal -lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm \
|
||||||
-std=c99 -Wl,-allow-multiple-definition -Wl,--subsystem,windows
|
-std=c99 -Wl,-allow-multiple-definition -Wl,--subsystem,windows
|
||||||
|
|
||||||
cleanDebug:
|
cleanDebug:
|
||||||
del /F /Q obj\Debug\*.*
|
del /F /Q obj/Debug/*.*
|
||||||
|
|
||||||
cleanRelease:
|
cleanRelease:
|
||||||
del /F /Q obj\Release\*.*
|
del /F /Q obj/Release/*.*
|
||||||
```
|
```
|
||||||
Change files and output variables as you see fit.
|
Change files and output variables as you see fit.
|
||||||
Reference in New Issue
Block a user