(Somewhat adapted) code and solutions from the book "Build Your Own Lisp" http://www.buildyourownlisp.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
131 B

MPC_DIR := ../mpc
all: lispy
%: %.c
cc -std=c11 -Wall $@.c ${MPC_DIR}/mpc.c -ledit -o $@
.PHONY: clean
clean:
rm -rf lispy