summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-11-26 11:01:47 -0800
committerCliff Click <cliffc@acm.org>2025-04-24 14:38:36 -0700
commit8bd80a973937dcb2465c9ddaed756208f7225b9b (patch)
tree758cfb1c017601503945ed761065820a69106bd3 /Makefile
parent9a0a1ed86d9cd988218bc3fe603675d62979b814 (diff)
downloadSimple-8bd80a973937dcb2465c9ddaed756208f7225b9b.tar.gz
Simple-8bd80a973937dcb2465c9ddaed756208f7225b9b.zip
Chapter 18: Functions
Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: tannal <tannal2409@gmail.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: RobertObkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c14ffa27..f42659de 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
SHELL := /bin/bash
.DELETE_ON_ERROR:
+
# for printing variable values
# usage: make print-VARIABLE
# > VARIABLE = value_of_variable
@@ -67,13 +68,19 @@ JVM=nice java -ea -cp "build/classes/main${SEP}${jars}${SEP}$(CLZDIR)/test"
tests: $(default_targets)
@echo "testing " $(test_cp)
- @$(JVM) org.junit.runner.JUnitCore $(test_cp) com.seaofnodes.simple.FuzzerWrap
+ @$(JVM) org.junit.runner.JUnitCore $(test_cp)
+ @$(JVM) org.junit.runner.JUnitCore com.seaofnodes.simple.FuzzerWrap
fuzzer: $(default_targets)
@echo "fuzzing " $(test_cp)
@$(JVM) org.junit.runner.JUnitCore com.seaofnodes.simple.FuzzerWrap
+# Launch viewer
+view: $(main_classes)
+ @echo "viewing "
+ @$(JVM) com.seaofnodes.simple.JSViewer
+
.PHONY: clean
clean:
rm -rf build