(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
135 B

6 years ago
  1. MPC_DIR := ../mpc
  2. all: parsing
  3. %: %.c
  4. cc -std=c11 -Wall $@.c ${MPC_DIR}/mpc.c -ledit -o $@
  5. .PHONY: clean
  6. clean:
  7. rm -rf parsing