diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-07 22:22:38 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-07 22:22:38 +0200 |
commit | d3cd6a63a0fff7cc77f26b319d61ba256aae680c (patch) | |
tree | f030663ee7085aa5609a64c5ec9ea2faa9be6aaa /Makefile | |
parent | e2d0b92ffc536c3d34ee751ba688946613bc5693 (diff) | |
download | EpisodeBrowser-d3cd6a63a0fff7cc77f26b319d61ba256aae680c.tar.gz |
Add showtodo script.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -10,6 +10,9 @@ CLFLAGS += -Wall -Wextra -Wpedantic -Wno-missing-field-initializers -Wno-parenth CLFLAGS += -ld-options,-mwindows,-static-libstdc++ -lcomctl32 #CLFLAGS += -ld-options,-mconsole +WINI = C:/Perl/c/x86_64-w64-mingw32/include +WINH = $(WINI)/win*.h $(WINI)/basetsd.h + all: showdeps b/$(EXE) cp b/$(EXE) "C:\Users\John\Desktop\Delat" @@ -17,7 +20,7 @@ clean: rm -fr b/$(EXE) b/*.obj TAGS: c/*.cpp c/*.h pl/*.pl - etags c/*.cpp c/*.h -lprolog pl/*.pl + etags c/*.cpp c/*.h $(WINH) -lprolog pl/*.pl b/$(EXE): Makefile c/main.cpp $(OBJ) $(PL) $(CL) $(CLFLAGS) -goal true -o $@ c/main.cpp $(OBJ) $(PL) @@ -38,6 +41,11 @@ s/%.s: c/%.cpp showdeps: @perl showdeps +# showdeps prints all TODO comments in the C++ source files. +.PHONY: showtodo +showtodo: + @perl showtodo + # deps.mk includes additional, dynamically generated dependencies for # b/*.obj and b/EpisodeBrowser.exe. Because it is included below, GNU # make should build deps.mk automatically. |