Skip to content

Commit dfa6ab9

Browse files
committed
Makefile: added `ans-check' target
1 parent 79c04a6 commit dfa6ab9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ UNITTEST_DIR=unittests
77

88
CLASSFILES := $(subst .java,.class,$(shell ls testfiles/*.java))
99

10-
11-
.PHONY: all unittests bigendian clean ohai
10+
.PHONY: all ans-check unittests bigendian clean ohai
1211

1312
all: $(CLASSFILES)
1413
$(FORTH) jvm-test.fs
1514

1615
ohai: $(CLASSFILES)
1716
$(FORTH) jvm-test.fs -e RunDemoPrintln -e bye
1817

18+
ans-check:
19+
$(FORTH) ans-report.fs jvm/jvm.fs -e "print-ans-report bye"
20+
1921
%.class: %.java
2022
make -C $(dir $@) $(notdir $@)
2123

0 commit comments

Comments
 (0)