shithub: riscv

ref: 8150f689959f71410f56ab66c0e89698c58459bc
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