aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 21d5584..a8b8276 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
PROJECT_ROOT = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
-INPUTS = $(PROJECT_ROOT)win.c
+INPUTS = $(PROJECT_ROOT)c/win.c
INPUTS += resource.obj
-INPUTS += $(PROJECT_ROOT)track_episodes.pl
-INPUTS += $(PROJECT_ROOT)local_episodes.pl
-INPUTS += $(PROJECT_ROOT)episode_data.pl
+INPUTS += $(PROJECT_ROOT)pl/track_episodes.pl
+INPUTS += $(PROJECT_ROOT)pl/local_episodes.pl
+INPUTS += $(PROJECT_ROOT)pl/episode_data.pl
CFLAGS += -DUNICODE -D_UNICODE
LDFLAGS += -lcomctl32 -lgdi32 -luxtheme
@@ -28,8 +28,8 @@ episode_browser.exe: $(INPUTS) $(PROJECT_ROOT)Makefile
swipl-ld -v $(CFLAGS) $(LDFLAGS) -goal true -o $@ $(INPUTS)
$(EXTRA_CMDS)
-resource.obj: $(PROJECT_ROOT)resource.h $(PROJECT_ROOT)resource.rc
- windres -i $(PROJECT_ROOT)resource.rc -o resource.obj
+resource.obj: $(PROJECT_ROOT)c/resource.h $(PROJECT_ROOT)c/resource.rc
+ windres -i $(PROJECT_ROOT)c/resource.rc -o resource.obj
#%.o: $(PROJECT_ROOT)%.c
# $(CC) -c $(CFLAGS) -o $@ $<