diff options
author | John Ankarström <john@ankarstrom.se> | 2022-02-15 15:38:57 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-02-15 15:38:57 +0100 |
commit | 09ec144a99f1234a37d04854bdfb81485540be97 (patch) | |
tree | ce3050a062a76dd12980b08ef36eb7ac35b7e6f8 /Makefile | |
parent | fed19b9942575e7c0360a0d77a3c544afdbaeb6c (diff) | |
download | EpisodeBrowser-09ec144a99f1234a37d04854bdfb81485540be97.tar.gz |
Put C code and Prolog code in separate directories.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 $@ $< |