aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-05-31 18:42:18 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-05-31 18:42:18 +0200
commit0f0d72ce8c66e7a61d0a4b0648e07ec6509be433 (patch)
tree1dd7cdc50cccde9759e4ff1e31aa338ccd1acf63 /Makefile
parent8cb3923c3715ee04d0bd15b30843d4f95f293949 (diff)
downloadEpisodeBrowser-0f0d72ce8c66e7a61d0a4b0648e07ec6509be433.tar.gz
Update Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files 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