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-06-13 15:42:08 -0700
commit8bc09f04ca12db4a2bf1fcd853e22ab989d250c8 (patch)
tree00573e10cd4ab98907ad5662e9febd3c4dd21d7f /Makefile
parent976d075fc977122e1b773b0d298eeaa9e491e600 (diff)
downloadSimple-8bc09f04ca12db4a2bf1fcd853e22ab989d250c8.tar.gz
Simple-8bc09f04ca12db4a2bf1fcd853e22ab989d250c8.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