|
|
@ -22,11 +22,11 @@ all : $(MAIN) |
|
|
|
leg -o $@ $< |
|
|
|
|
|
|
|
test : $(MAIN) |
|
|
|
./$(MAIN) < test.txt | tee test.out |
|
|
|
./$(MAIN) test.txt 2>&1 | tee test.out |
|
|
|
@diff test.ref test.out && echo '\012--- PASSED ---' |
|
|
|
|
|
|
|
testref : $(MAIN) |
|
|
|
./$(MAIN) < test.txt | tee test.ref |
|
|
|
./$(MAIN) test.txt 2>&1 | tee test.ref |
|
|
|
|
|
|
|
bench : $(MAIN)-opt |
|
|
|
time ./$(MAIN)-opt -O bench.txt |
|
|
|