aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c5e8670..fc89c68 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,9 @@ INPUTS += $(PROJECT_ROOT)track_episodes.pl
INPUTS += $(PROJECT_ROOT)local_episodes.pl
INPUTS += $(PROJECT_ROOT)episode_data.pl
-CFLAGS += -v -cc-options,-mwindows,-municode -DUNICODE -D_UNICODE
-LDFLAGS += -lcomctl32 -lgdi32
+CFLAGS += -DUNICODE -D_UNICODE
+CFLAGS += -v -cc-options,-mwindows
+LDFLAGS += -lcomctl32 -lgdi32 -luxtheme
ifeq ($(BUILD_MODE),debug)
CFLAGS += -g
@@ -24,7 +25,7 @@ endif
all: episode_browser.exe
-episode_browser.exe: $(INPUTS)
+episode_browser.exe: $(INPUTS) $(PROJECT_ROOT)Makefile
swipl-ld $(CFLAGS) $(LDFLAGS) -goal true -o $@ $(INPUTS)
$(EXTRA_CMDS)
@@ -35,4 +36,4 @@ resource.obj: $(PROJECT_ROOT)resource.h $(PROJECT_ROOT)resource.rc
# $(CC) -c $(CFLAGS) -o $@ $<
clean:
- rm -fr episode_browser.exe $(EXTRA_CLEAN)
+ rm -fr episode_browser.exe resource.obj $(EXTRA_CLEAN)