summaryrefslogtreecommitdiff
path: root/ldso/Makefile
blob: dab0025f47130a5709c65ced10a0895a2becd371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TOPDIR=../
include Rules.mak

SUBDIRS = util d-link libdl # man

all:
	@if [ -d $(TOPDIR)ldso/d-link/$(TARGET_ARCH) ] ; then \
		$(MAKE) -C d-link; \
	fi;

shared:
	@if [ -d $(TOPDIR)ldso/d-link/$(TARGET_ARCH) ] ; then \
		set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done \
	fi;

clean:
	set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
	-find . -name '*~' | xargs rm -f