Make now runs ctags -R
This commit is contained in:
parent
0cd0d410a1
commit
f1cb03bc22
8
makefile
8
makefile
@ -9,9 +9,9 @@ OBJS := $(SRCS:%.cpp=$(OBJD)/%.o)
|
|||||||
CCFLAGS = -Wall
|
CCFLAGS = -Wall
|
||||||
LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system
|
LDFLAGS = -lsfml-graphics -lsfml-window -lsfml-system
|
||||||
|
|
||||||
.PHONY: all run clean
|
.PHONY: all run clean tags
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET) tags
|
||||||
|
|
||||||
$(TARGET): $(OBJS)
|
$(TARGET): $(OBJS)
|
||||||
$(CC) $^ -o $(TARGET) $(LDFLAGS) $(CCFLAGS)
|
$(CC) $^ -o $(TARGET) $(LDFLAGS) $(CCFLAGS)
|
||||||
@ -23,6 +23,8 @@ $(OBJS): $(OBJD)/%.o: %.cpp
|
|||||||
clean:
|
clean:
|
||||||
rm -r $(TARGET) $(OBJD)
|
rm -r $(TARGET) $(OBJD)
|
||||||
|
|
||||||
run: main
|
run: $(TARGET) tags
|
||||||
./$(TARGET)
|
./$(TARGET)
|
||||||
|
|
||||||
|
tags:
|
||||||
|
ctags -R
|
||||||
|
Loading…
Reference in New Issue
Block a user