lake/Makefile
Sami Samhuri 54831a34fa added eval and apply, lambdas, other goodies
- add booleans, dotted lists, functions
- proper lexical scope
- special forms: define, set!, and, or, quote, lambda
- added some basic list manipulations
- print functions and dotted lists
- removed nil
- more robust in general
2011-04-20 01:38:53 -07:00

13 lines
355 B
Makefile

CC = gcc
CFLAGS := -Wall -g $(shell pkg-config --cflags glib-2.0)
LFLAGS := $(shell pkg-config --libs glib-2.0)
all: lake
lake: lake.o env.o int.o string.o sym.o parse.o bool.o list.o eval.o symtable.o fn.o dlist.o
$(CC) $(CFLAGS) $(LFLAGS) $^ -o $@
# use touch to prevent errors in case files do not exist
clean:
@touch dummy.o lake
rm -f *.o lake