1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#
# Makefile to process all Descr.* files with dealer and write the output
# to Output.*. make test executes the test, make clean cleans up.
# Depending on the CPU power that you have, these test may take up to
# 10 minutes to run.
#
DEALER = ../dealer
SHELL=/bin/sh
OUTPUT = $(wildcard Output.*)
test: examples distribution
distribution:
${DEALER} -s 1 <Test.distribution | ./convert.pl >Output.distribution
diff Output.distribution Refer.distribution
examples:
./test_dealer.pl
refer:
-for f in ${OUTPUT}; do \
echo $$f; \
f1=`echo $$f | sed s/Output/Refer/` ; \
echo $$f1; \
/bin/cp $$f $$f1; \
done
clean:
-rm -f ${OUTPUT}
|