tweak: initialize git repo
This commit is contained in:
commit
0a01b3e398
23
makefile
Normal file
23
makefile
Normal file
|
@ -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)
|
||||
|
1
notes/link.txt
Normal file
1
notes/link.txt
Normal file
|
@ -0,0 +1 @@
|
|||
https://buildyourownlisp.com/chapter2_installation
|
Loading…
Reference in New Issue
Block a user