Fixed the Windows makefile and added OS specific instructions.
This commit is contained in:
parent
96bc129dfa
commit
cf73070d85
3
Makefile
3
Makefile
@ -7,6 +7,9 @@ ifeq ($(OS), Windows_NT)
|
|||||||
platform = Windows
|
platform = Windows
|
||||||
compiler = g++
|
compiler = g++
|
||||||
options = -pthread -lopengl32 -lgdi32 -lwinmm -mwindows
|
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