commit 0a01b3e3989ecc64ea62238a9d5d54312dbc1acd Author: NunoSempere Date: Sat Apr 29 18:27:11 2023 -0400 tweak: initialize git repo diff --git a/lisp.c b/lisp.c new file mode 100644 index 0000000..e69de29 diff --git a/makefile b/makefile new file mode 100644 index 0000000..809fe05 --- /dev/null +++ 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 new file mode 100644 index 0000000..1e963ed --- /dev/null +++ b/notes/link.txt @@ -0,0 +1 @@ +https://buildyourownlisp.com/chapter2_installation