diff --git a/Makefile b/Makefile index 0c62398..0deb966 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ FILE := sdl_tmplt TARGET := $(FILE) CFLAGS := $(shell sdl2-config --cflags) -ifdef WIN32 +ifeq (MINGW,$(findstring MINGW,$(shell uname))) LIBS := -lopengl32 -lglu32 -lmingw32 CC := mingw32-gcc TARGET := $(TARGET).exe