Merge pull request #2520 from fr500/master

remove the windows console in non-debug windows builds
This commit is contained in:
Twinaphex 2015-12-05 03:37:24 +01:00
commit 0cda0d042b

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.