Fixed the Windows makefile and added OS specific instructions.

This commit is contained in:
aryeh 2020-11-21 21:46:23 +11:00
parent 96bc129dfa
commit cf73070d85

View File

@ -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)