commit 0a01b3e3989ecc64ea62238a9d5d54312dbc1acd Author: NunoSempere <nuno.sempere@protonmail.com> Date: Sat, 29 Apr 2023 18:27:11 -0400 tweak: initialize git repo Diffstat:
| A | lisp.c | | | 0 | |
| A | makefile | | | 23 | +++++++++++++++++++++++ |
| A | notes/link.txt | | | 1 | + |
3 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/lisp.c b/lisp.c diff --git a/makefile b/makefile @@ -0,0 +1,23 @@ +# make +# make build +# (sudo) make install +# make format +# make clean +# make uninstall + +## C compiler +CC=tcc # much faster compilation than gcc + +## Main file +SRC=lisp.c + +## Formatter +STYLE_BLUEPRINT=webkit +FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT) + +build: $(SRC) + $(cc) $(src) -o lisp + +format: $(SRC) + $(FORMATTER) $(SRC) + diff --git a/notes/link.txt b/notes/link.txt @@ -0,0 +1 @@ +https://buildyourownlisp.com/chapter2_installation