1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-05-10 20:10:13 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
Samuel Gomes 3968fc9f04
Merge pull request #481 from a740g/main
Create Windows GUI applications only when both DEP_CONSOLE_ONLY & DEP_CONSOLE are not defined
2024-04-19 19:32:51 +05:30
Samuel Gomes 8cf0492418 Link with gdi32 when compiling Windows GUI apps 2024-04-19 18:11:36 +05:30
Samuel Gomes ebb4dbd3ad Create Windows GUI application only when both DEP_CONSOLE_ONLY & DEP_CONSOLE are not defined 2024-04-19 17:17:36 +05:30

View file

@ -350,6 +350,8 @@ ifeq ($(OS),win)
ifneq ($(filter y,$(DEP_CONSOLE_ONLY) $(DEP_CONSOLE)),)
CXXLIBS += -mconsole
else
CXXLIBS += -mwindows
endif
ifneq ($(filter y,$(DEP_CONSOLE_ONLY)),)
@ -358,7 +360,7 @@ ifeq ($(OS),win)
LICENSE_IN_USE := $(filter-out freeglut,$(LICENSE_IN_USE))
else
CXXLIBS += -mwindows -lopengl32 -lglu32 -lwinmm
CXXLIBS += -lopengl32 -lglu32 -lwinmm -lgdi32
endif
ifneq ($(filter y,$(DEP_SOCKETS)),)