shithub: riscv

ref: 20a1d2268d69a0bbe66d0f21999649133878377c
dir: /sys/src/cmd/ip/dhcpd/mkfile/

View raw version
</$objtype/mkfile

TARG=dhcpd\
	dhcpleases\

DOFILES=\
	dhcpd.$O\
	db.$O\
	ndb.$O\
	ping.$O\

IOFILES=\
	dhcpleases.$O\
	db.$O\
	ping.$O\

HFILES=dat.h ../dhcp.h ../icmp.h

BIN=/$objtype/bin/ip

UPDATE=\
	mkfile\
	$HFILES\
	${DOFILES:%.$O=%.c}\
	${IOFILES:%.$O=%.c}\

</sys/src/cmd/mkmany

$O.dhcpd: $DOFILES
	$LD -o $target $DOFILES

$O.dhcpleases: $IOFILES
	$LD -o $target $IOFILES

$O.testping: testping.$O ping.$O
	$LD -o $target $prereq