From 600d27ec608fefc73e82463a4d02bd480f2eeabc Mon Sep 17 00:00:00 2001 From: chad Date: Sun, 24 Jul 2011 09:55:39 +0000 Subject: [PATCH] Added a "make run" target that can be used for regression testing. git-svn-id: http://www.cdkersey.com/harp/harptool@11 0246edb2-e076-4747-b392-db732a341fa2 --- src/test/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/test/Makefile b/src/test/Makefile index 4bad025d..1fac654d 100644 --- a/src/test/Makefile +++ b/src/test/Makefile @@ -1,9 +1,18 @@ HARPLD = ../harptool -L HARPAS = ../harptool -A -4WARCH = 2b16/1/8 +HARPEM = ../harptool -E +4WARCH = 6w16/2/2 all: sieve.bin 2thread.bin sieve.4w.bin 2thread.4w.bin +run: sieve.out 2thread.out sieve.4w.out 2thread.4w.out + +%.4w.out : %.4w.bin + $(HARPEM) -a $(4WARCH) -c $< > $@ + +%.out : %.bin + $(HARPEM) -c $< > $@ + 2thread.bin : lib.HOF 2thread.HOF boot.HOF $(HARPLD) -o 2thread.bin boot.HOF 2thread.HOF lib.HOF @@ -29,4 +38,4 @@ sieve.4w.bin : lib.4w.HOF sieve.4w.HOF boot.4w.HOF $(HARPAS) -o $@ $< clean: - rm -f *.HOF *.bin *~ + rm -f *.HOF *.bin *.out *~