Added basic Windows support.
This commit is contained in:
parent
f7260e2a0a
commit
684167d829
4
Makefile
4
Makefile
@ -1,7 +1,9 @@
|
|||||||
# Set platform-specific macros
|
# Set platform-specific macros
|
||||||
ifeq ($(OS), Windows_NT)
|
ifeq ($(OS), Windows_NT)
|
||||||
# Build for Windows
|
# Build for Windows
|
||||||
|
libPath = ./lib/Windows/libraylib_static.a
|
||||||
|
buildfile = ./build/app
|
||||||
|
compileCommand = g++ -std=c++17 -I ./include/ -m64 -L./lib/Windows -L./include ./src/main.cpp -o $(buildfile) -lraylib -pthread -lopengl32 -lgdi32 -lwinmm -mwindows
|
||||||
else
|
else
|
||||||
# Build for MacOS/Linux
|
# Build for MacOS/Linux
|
||||||
|
|
||||||
|
BIN
lib/Windows/libraylib.a
Normal file
BIN
lib/Windows/libraylib.a
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user