shithub: riscv

ref: 5aa224c153db83a9fe82848860a062c7c3566cc5
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