From dbf1e3bf11c74b93c42336000a42a73c7515d7a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 14 Feb 2022 23:17:44 +0100 Subject: Stop command prompt from appearing. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fc89c68..21d5584 100644 --- a/Makefile +++ b/Makefile @@ -7,13 +7,12 @@ INPUTS += $(PROJECT_ROOT)local_episodes.pl INPUTS += $(PROJECT_ROOT)episode_data.pl CFLAGS += -DUNICODE -D_UNICODE -CFLAGS += -v -cc-options,-mwindows LDFLAGS += -lcomctl32 -lgdi32 -luxtheme ifeq ($(BUILD_MODE),debug) CFLAGS += -g else ifeq ($(BUILD_MODE),run) - CFLAGS += -O2 + CFLAGS += -O2 -ld-options,-mwindows else ifeq ($(BUILD_MODE),linuxtools) CFLAGS += -g -pg -fprofile-arcs -ftest-coverage LDFLAGS += -pg -fprofile-arcs -ftest-coverage @@ -26,7 +25,7 @@ endif all: episode_browser.exe episode_browser.exe: $(INPUTS) $(PROJECT_ROOT)Makefile - swipl-ld $(CFLAGS) $(LDFLAGS) -goal true -o $@ $(INPUTS) + swipl-ld -v $(CFLAGS) $(LDFLAGS) -goal true -o $@ $(INPUTS) $(EXTRA_CMDS) resource.obj: $(PROJECT_ROOT)resource.h $(PROJECT_ROOT)resource.rc -- cgit v1.2.3