aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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