fix mwindows flag on the makefile

This commit is contained in:
radius 2016-06-02 23:38:04 -05:00
parent 04fc5d042f
commit cd615b3e79

View File

@ -54,6 +54,9 @@ ifeq ($(DEBUG), 1)
OPTIMIZE_FLAG = -O0 -g
else
OPTIMIZE_FLAG = -O3 -ffast-math
ifneq ($(findstring Win32,$(OS)),)
LDFLAGS += -mwindows
endif
endif
CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) $(DEBUG_FLAG) -I.