From 0f0d72ce8c66e7a61d0a4b0648e07ec6509be433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 31 May 2022 18:42:18 +0200 Subject: Update Makefile. --- Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 55299b2..a03c3b0 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,14 @@ B = build/default/ C = c/main.c -PL = pl/track_episodes.pl pl/local_episodes.pl pl/episode_data.pl +PL = pl/cfg.pl pl/episode_data.pl pl/local_episodes.pl pl/track_episodes.pl OBJ = $(B)common.obj $(B)datalistview.obj $(B)episodelistview.obj $(B)listview.obj $(B)resource.obj CC = swipl-ld +CFLAGS += -O -ld-options,-mwindows CFLAGS += -DUNICODE -D_UNICODE LDFLAGS += -lcomctl32 -luxtheme -ifeq ($(BUILD_MODE),debug) - CFLAGS += -g -else - CFLAGS += -O -ld-options,-mwindows -endif - all: $(B)EpisodeBrowser.exe $(B)EpisodeBrowser.exe: $(C) $(OBJ) $(PL) c/defs.h Makefile -- cgit v1.2.3