shithub: riscv

ref: 9944e16b16ab7eaa517a2c1eacffb2b936f51e45
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