blob: 0337ab90a64cd29e02b1936d0467edee0349974d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
TOPDIR=../
include $(TOPDIR)Rules.mak
SUBDIRS = libdl
ALL_SUBDIRS = util libdl d-link
all:
ifeq ($(strip $(HAVE_SHARED)),true)
@if [ -d $(TOPDIR)ldso/d-link/$(TARGET_ARCH) ] ; then \
$(MAKE) -C d-link; \
fi;
endif
shared:
ifeq ($(strip $(HAVE_SHARED)),true)
@if [ -d $(TOPDIR)ldso/d-link/$(TARGET_ARCH) ] ; then \
set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done \
fi;
endif
clean:
set -e ; for d in $(ALL_SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
-find . -name '*~' | xargs rm -f
|