2
updir = $(shell echo $(dir $(1)) | sed 's/.$$//')
3
TOOLSDIR := $(call updir,$(CURDIR))
4
SRCDIR := $(call updir,$(TOOLSDIR))
11
include $(BLDDIR)/config.mk
15
include $(SRCDIR)/tools/common.mk
18
-Isrcdir/$(SUBDIR)/include \
21
-Isrcdir/lib/util/include \
23
CFLAGS = $(CFLAGS_COMMON) $(INCLUDES) $(CFLAGS_PERSONAL) $(CADD)
34
# This common.mk dependency makes sure the symlinks get built before
35
# this make file is used for anything.
37
$(SRCDIR)/tools/common.mk: srcdir blddir
48
distclean: clean distclean-common