summaryrefslogtreecommitdiff
path: root/tools/adk/Makefile
blob: 1f8c2186e634de141cc7a1a46abc049bd6eec453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

CCANDLD.c=	${HOSTCC} ${HOSTCFLAGS} ${HOSTCPPFLAGS} ${HOSTLDFLAGS}

${TOPDIR}/bin/tools/depmaker:
	${CCANDLD.c} -o $(TOPDIR)/bin/tools/depmaker depmaker.c

${TOPDIR}/bin/tools/pkgrebuild:
	${CCANDLD.c} -o $(TOPDIR)/bin/tools/pkgrebuild pkgrebuild.c strmap.c

${TOPDIR}/bin/tools/dkgetsz:
	${CCANDLD.c} -Wall -o $@ dkgetsz.c

install: ${TOPDIR}/bin/tools/depmaker ${TOPDIR}/bin/tools/pkgrebuild \
	${TOPDIR}/bin/tools/dkgetsz

include $(TOPDIR)/mk/tools.mk