remove the windows console in non-debug windows builds

This commit is contained in:
radius 2015-12-04 21:08:52 -05:00
parent 8c3c22f15a
commit d028905b6c

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.