Fixed the Windows makefile and added OS specific instructions.
This commit is contained in:
parent
96bc129dfa
commit
cf73070d85
5
Makefile
5
Makefile
@ -6,7 +6,10 @@ ifeq ($(OS), Windows_NT)
|
|||||||
# Set Windows macros
|
# Set Windows macros
|
||||||
platform = Windows
|
platform = Windows
|
||||||
compiler = g++
|
compiler = g++
|
||||||
options = -p thread -l opengl32 -l gdi32 -l winmm -m windows
|
options = -pthread -lopengl32 -lgdi32 -lwinmm -mwindows
|
||||||
|
# Windows-specific commands for creation and deletion
|
||||||
|
initCommand = -mkdir build
|
||||||
|
cleanCommand = del build\app.exe
|
||||||
else
|
else
|
||||||
# Check for MacOS/Linux
|
# Check for MacOS/Linux
|
||||||
UNAMEOS := $(shell uname)
|
UNAMEOS := $(shell uname)
|
||||||
|
Loading…
Reference in New Issue
Block a user