summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonsykkel <jonrevold@gmail.com>2021-09-07 16:16:23 +0200
committerjonsykkel <jonrevold@gmail.com>2021-09-07 16:16:23 +0200
commit66b457dd318b39645cebafdf68ec82e1b1145c35 (patch)
treed2d42677c91b89e34547de44c7401cdcb32d6193
parent40799ef6afcf3fc2f8d1d4e026b0f2e5f51c63cf (diff)
downloadokeffa-66b457dd318b39645cebafdf68ec82e1b1145c35.tar.gz
ch4
-rw-r--r--.gitignore1
-rw-r--r--makefile3
-rw-r--r--prog/ch4_ans1
-rw-r--r--prog/ch4_num1
4 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index e62be49..009c6b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,4 +5,5 @@
!src/
!test/
!calc/
+!prog/
diff --git a/makefile b/makefile
index e635033..41662cb 100644
--- a/makefile
+++ b/makefile
@@ -65,7 +65,8 @@ out := $(bin_dir)/$(out)
ifneq ($(run),)
run_cmd := @echo "run $(out)" 1>&2
- run_cmd += && ./$(out) 256 16
+ #run_cmd += && ./$(out) 256 16
+ run_cmd += && cat prog/ch4_num prog/ch4_ans | $(out) 256 16
endif
ifneq ($(debug),)
diff --git a/prog/ch4_ans b/prog/ch4_ans
new file mode 100644
index 0000000..2349bb6
--- /dev/null
+++ b/prog/ch4_ans
@@ -0,0 +1 @@
+``<{'}__``<{'}__``<{'}__``<{'}__``<{'}__``<{'}__Q
diff --git a/prog/ch4_num b/prog/ch4_num
new file mode 100644
index 0000000..36419a3
--- /dev/null
+++ b/prog/ch4_num
@@ -0,0 +1 @@
+.9.1.7.5.1.1.0