aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 444b9ea..8ed6fed 100644
--- a/Makefile
+++ b/Makefile
@@ -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.