Initial commit

This commit is contained in:
2026-04-02 17:42:04 -07:00
commit aa4564fc55
11 changed files with 1120 additions and 0 deletions

22
Makefile Normal file
View File

@@ -0,0 +1,22 @@
DEBUG_FLAGS=-Og -g -fsanitize=address,undefined
CC=gcc
CFLAGS=-std=c11 -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE=200112L -Wall -Wextra $(DEBUG_FLAGS)
LD=gcc
LDFLAGS=$(DEBUG_FLAGS)
lambda: main.o parse.o term.o
$(LD) $(LDFLAGS) -o $@ $^
%.o: %.c
$(CC) -c $(CFLAGS) -o $@ $<
clean:
rm -f lambda *.o
.PHONY: clean
# Dependencies
main.o: parse.h term.h
parse.o: parse.h util.h
term.o: term.h