mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Make the tags rule tolerate lack of one of the standard directories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87486b483c
commit
942f904af7
@ -615,8 +615,10 @@ endif
|
||||
|
||||
ifdef ETAGS
|
||||
ifeq ($(LEVEL), .)
|
||||
SRCDIRS := $(wildcard include lib tools)
|
||||
|
||||
tags:
|
||||
$(ETAGS) -l c++ `find include lib tools -name '*.cpp' -o -name '*.h'`
|
||||
$(ETAGS) -l c++ `find $(SRCDIRS) -name '*.cpp' -o -name '*.h'`
|
||||
all:: tags
|
||||
endif
|
||||
else
|
||||
|
@ -615,8 +615,10 @@ endif
|
||||
|
||||
ifdef ETAGS
|
||||
ifeq ($(LEVEL), .)
|
||||
SRCDIRS := $(wildcard include lib tools)
|
||||
|
||||
tags:
|
||||
$(ETAGS) -l c++ `find include lib tools -name '*.cpp' -o -name '*.h'`
|
||||
$(ETAGS) -l c++ `find $(SRCDIRS) -name '*.cpp' -o -name '*.h'`
|
||||
all:: tags
|
||||
endif
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user