aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-02-14 20:11:17 +0100
committerJohn Ankarström <john@ankarstrom.se>2022-02-14 20:11:17 +0100
commit9682b03872dea0da4cf8d5e6982d5821400d706a (patch)
treefe2db7c9461e805a70710440208522d4fa3adf0f /Makefile
parent58cbc7c7f4c0339928bdb704cb34ba387f12fa97 (diff)
downloadEpisodeBrowser-9682b03872dea0da4cf8d5e6982d5821400d706a.tar.gz
Improve list view appearance.
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)