Merge pull request #2520 from fr500/master
remove the windows console in non-debug windows builds
This commit is contained in:
commit
0cda0d042b
3
Makefile
3
Makefile
|
@ -54,6 +54,9 @@ ifeq ($(DEBUG), 1)
|
||||||
OPTIMIZE_FLAG = -O0 -g
|
OPTIMIZE_FLAG = -O0 -g
|
||||||
else
|
else
|
||||||
OPTIMIZE_FLAG = -O3 -ffast-math
|
OPTIMIZE_FLAG = -O3 -ffast-math
|
||||||
|
ifneq ($(findstring Win32,$(OS)),)
|
||||||
|
LDFLAGS += -mwindows
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) $(DEBUG_FLAG) -I.
|
CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) $(DEBUG_FLAG) -I.
|
||||||
|
|
Loading…
Reference in New Issue