tags are a file target sync
authorVolker Birk <vb@pep-project.org>
Sun, 07 Apr 2019 22:32:28 +0200
branchsync
changeset 3453d265bc1d3c6b
parent 3452 c92df43dc125
child 3454 cfc98ce474a5
tags are a file target
src/Makefile
     1.1 --- a/src/Makefile	Sun Apr 07 22:28:47 2019 +0200
     1.2 +++ b/src/Makefile	Sun Apr 07 22:32:28 2019 +0200
     1.3 @@ -82,12 +82,13 @@
     1.4  $(TARGET): libpEpEngine.a
     1.5  	$(CC) $(ALL_OBJECTS) $(LDFLAGS) $(LDLIBS) -o $@
     1.6  
     1.7 +.PHONY: objects clean install_headers install uninstall
     1.8 +
     1.9  objects: $(ALL_OBJECTS)
    1.10  
    1.11  libpEpEngine.a: $(ALL_OBJECTS)
    1.12  	$(AR) -rc $@ $^
    1.13  
    1.14 -.PHONY: clean
    1.15  clean:
    1.16  	rm -f *.d *.o *.a $(TARGET) *.dll *.so *.zip *.d.* *.def *~
    1.17  	rm -Rf $(TARGET).dSYM
    1.18 @@ -108,12 +109,10 @@
    1.19  	mkdir -p "$(PREFIX)/lib/"
    1.20  	cp $< $(PREFIX)/lib/
    1.21  
    1.22 -.PHONY: uninstall
    1.23  uninstall:
    1.24  	rm -f $(PREFIX)/lib/$(TARGET)
    1.25  	rm -rf $(PREFIX)/include/pEp
    1.26  
    1.27 -.PHONY: tags
    1.28 -tags:
    1.29 +tags: $(wildcard *.c) $(wildcard *.h)
    1.30  	ctags *.c *.h
    1.31