diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ B = build/default/ -C = c/main.c +C = c/main.cpp 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)pl.obj $(B)resource.obj @@ -18,11 +18,11 @@ $(B)EpisodeBrowser.exe: $(C) $(OBJ) $(PL) c/defs.h Makefile $(B)resource.obj: c/resource.h c/resource.rc c/application.manifest windres -i c/resource.rc -o $(B)resource.obj -$(B)%.obj: c/%.c c/defs.h +$(B)%.obj: c/%.cpp c/*.h $(CC) -c $(CFLAGS) -o $@ $< -TAGS: c/*.c c/*.h pl/*.pl - etags c/*.c c/*.h -lprolog pl/*.pl +TAGS: c/*.cpp c/*.h pl/*.pl + etags c/*.cpp c/*.h -lprolog pl/*.pl clean: rm -fr $(B)EpisodeBrowser.exe $(B)*.obj |