summaryrefslogtreecommitdiff
path: root/ldso/Makefile
blob: 9fb609c6dfafbcac2131186898d4cbc908447cbe (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 libdl # d-link 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