From 171cedf64c0ccb7e3b1bda50202e095c596df84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 8 Aug 2022 15:53:47 +0200 Subject: Makefile: Improve TAGS target. --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3