From f1cb03bc227030672684616044a0637da45e4583 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Sun, 2 Apr 2023 01:20:41 +0100 Subject: [PATCH] Make now runs ctags -R --- makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index eaa12b3..0f1896e 100644 --- a/makefile +++ b/makefile @@ -9,9 +9,9 @@ OBJS := $(SRCS:%.cpp=$(OBJD)/%.o) CCFLAGS = -Wall LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system -.PHONY: all run clean +.PHONY: all run clean tags -all: $(TARGET) +all: $(TARGET) tags $(TARGET): $(OBJS) $(CC) $^ -o $(TARGET) $(LDFLAGS) $(CCFLAGS) @@ -23,6 +23,8 @@ $(OBJS): $(OBJD)/%.o: %.cpp clean: rm -r $(TARGET) $(OBJD) -run: main +run: $(TARGET) tags ./$(TARGET) +tags: + ctags -R