Small windows makefile tweaks
@@ -19,9 +19,16 @@ endif
ifneq (, $(findstring MSYS, $(SYS)))
CFLAGS += -Wno-discarded-qualifiers
+ifdef ICON_OBJECT_FILE
+ CFLAGS += $(ICON_OBJECT_FILE)
+endif
SDLFLAGS := -lSDL2main -mwindows $(SDLFLAGS)
endif
+ifneq (, $(findstring Linux, $(SYS)))
+CFLAGS += -Wno-discarded-qualifiers
+endif
+
all: $(EXENAME)
