File:  [CSRG BSD Unix] / 43BSDReno / pgrm / pascal / tstpx / pc / makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

SRCDIR = ../src
INDIR = ../in
OUTDIR = ../out

NO_INPUT = align ancestor ancestor2 \
	backtracerr bench binrdwt \
	clock cutter \
	eightqueens \
	fay ffunc fnested form fproc funcs \
	gencard gordon \
	hamachi \
	math \
	nonlocgoto numericio \
	palindromes permute \
	pcextn powersoftwo \
	primes pvs1 pvs2 pvs3 \
	quicksort \
	random real realout reset \
	scaltst sequin setret shoemake \
	sort strngs \
	t01 t03 t04 t05 \
	t06 t07 t08 t09 t10 \
	t11 t12 t13 t14 t15 \
	t17 t18 t19 \
	t6.6.3.1-5 t6.6.3.4-2 \
	testeoln testio transpose \
	wnj

HAS_INPUT = basic cfor cntchars expotst hanoi hugereal index insan \
	nmaze pcerror peter pretty procs rdpal rdwt setest size t16

all: ${NO_INPUT} ${HAS_INPUT}

clean:
	rm -f ${NO_INPUT} ${HAS_INPUT}
	rm -f \#* a.out core out f file foo *.list

${NO_INPUT}:
	@echo ""
	pc ${PFLAGS} -o $@ ${SRCDIR}/[email protected]
	./$@ > out 2>&1 
	-diff ${OUTDIR}/[email protected] out
	cp /dev/null $@

${HAS_INPUT}:
	@echo ""
	pc ${PFLAGS} -o $@ ${SRCDIR}/[email protected]
	./$@ <${INDIR}/[email protected] > out 2>&1
	-diff ${OUTDIR}/[email protected] out
	cp /dev/null $@

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.