aboutsummaryrefslogtreecommitdiff
path: root/works/life/compile-principle-experiment/2/makefile
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-11-22 20:53:01 +0800
committercrupest <crupest@outlook.com>2021-11-22 20:53:01 +0800
commit226bfe84c5f690462adbf386dc66316cc21fdb28 (patch)
treed2a3ed9ab5f176cd0f848b1febf741f201c19f03 /works/life/compile-principle-experiment/2/makefile
parent205f243379919b7830726f9dcc4ae7d33c84e857 (diff)
downloadcrupest-226bfe84c5f690462adbf386dc66316cc21fdb28.tar.gz
crupest-226bfe84c5f690462adbf386dc66316cc21fdb28.tar.bz2
crupest-226bfe84c5f690462adbf386dc66316cc21fdb28.zip
import(life): Add compile principle codes.
Diffstat (limited to 'works/life/compile-principle-experiment/2/makefile')
-rw-r--r--works/life/compile-principle-experiment/2/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/works/life/compile-principle-experiment/2/makefile b/works/life/compile-principle-experiment/2/makefile
new file mode 100644
index 0000000..65bcca2
--- /dev/null
+++ b/works/life/compile-principle-experiment/2/makefile
@@ -0,0 +1,5 @@
+hoc: hoc.c
+ cc hoc.c -o hoc
+
+hoc.c: hoc.y
+ bison hoc.y -o hoc.c