aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-08 15:53:47 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-08 15:53:47 +0200
commit171cedf64c0ccb7e3b1bda50202e095c596df84e (patch)
tree5cc4808cbb3c3682aaa80de42946fd7d5d8bc8d2 /Makefile
parentd3cd6a63a0fff7cc77f26b319d61ba256aae680c (diff)
downloadEpisodeBrowser-171cedf64c0ccb7e3b1bda50202e095c596df84e.tar.gz
Makefile: Improve TAGS target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8ed6fed..87a055d 100644
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,6 @@ 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"
@@ -20,7 +17,7 @@ clean:
rm -fr b/$(EXE) b/*.obj
TAGS: c/*.cpp c/*.h pl/*.pl
- etags c/*.cpp c/*.h $(WINH) -lprolog pl/*.pl
+ etags --declarations -lc++ c/*.cpp c/*.h -lprolog pl/*.pl
b/$(EXE): Makefile c/main.cpp $(OBJ) $(PL)
$(CL) $(CLFLAGS) -goal true -o $@ c/main.cpp $(OBJ) $(PL)