summaryrefslogtreecommitdiff
path: root/tools/adk/Makefile
blob: 638935e5eaab338ef28bffb8658fb9db967a174d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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}

${TOOLS_DIR}/depmaker:
	${CCANDLD.c} -Wall -o $@ depmaker.c

${TOOLS_DIR}/pkgrebuild:
	${CCANDLD.c} -Wall -o $@ pkgrebuild.c strmap.c

${TOOLS_DIR}/dkgetsz:
	${CCANDLD.c} -Wall -o $@ dkgetsz.c

install: ${TOOLS_DIR}/depmaker ${TOOLS_DIR}/pkgrebuild ${TOOLS_DIR}/dkgetsz

include $(TOPDIR)/mk/tools.mk