mirror of
https://github.com/samsonjs/lake.git
synced 2026-04-15 12:25:49 +00:00
- 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
13 lines
355 B
Makefile
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
|