Skip to content
Snippets Groups Projects
Commit 54d692e3 authored by Alfred Burgess's avatar Alfred Burgess
Browse files

Moved SDLinclude and library directory options to platform specific section of makefile

parent bd4051ef
Branches
No related merge requests found
ifeq ($(OS),Windows_NT) ifeq ($(OS),Windows_NT)
CXX = g++ # or your Windows compiler CXX = g++ # or your Windows compiler
CXXFLAGS = -std=c++17 -Wall -Wreorder CXXFLAGS = -std=c++17 -Wall -Wreorder
SDL_INCLUDE = C:/dev/SDL2/x86_64-w64-mingw32/include/SDL2
SDL_LIBRARY = C:/dev/SDL2/x86_64-w64-mingw32/lib
else else
UNAME_S := $(shell uname -s) UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux) ifeq ($(UNAME_S),Linux)
CXX = g++ CXX = g++
CXXFLAGS = -std=c++17 -Wall -Wreorder CXXFLAGS = -std=c++17 -Wall -Wreorder
SDL_INCLUDE =
SDL_LIBRARY =
endif endif
# Add more conditions for other platforms as needed # Add more conditions for other platforms as needed
endif endif
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment