code: regress

ref: ef3d02cda8c74294c9461c0ef45497781a118d63
dir: /regress/

View raw version
all:VQ:
	echo $t
	for(t in $TEST) @{
		if(test -d $t)
			@{cd $t && mk $MKFLAGS all}
		if not
			mk $t.test
	}

%.test:V: $O.%
	./$O.$stem

%.test:V: %.rc
	./$stem.rc

%.$O:	$HFILES		# don't combine with following %.$O rules

%.$O:	%.c
	$CC $CFLAGS $stem.c

%.$O:	%.s
	$AS $AFLAGS $stem.s

$O.%:	%.$O $OFILES $LIB
	$LD $LDFLAGS -o $target $prereq