11 lines
220 B
Makefile
11 lines
220 B
Makefile
CFLAGS = -std=c99 -Wall -Wextra -ggdb
|
|
|
|
all: interpreter
|
|
interpreter: interpreter.c ell.c
|
|
$(CC) $(CFLAGS) $< -o $@
|
|
repl: repl.c ell.c
|
|
$(CC) $(CFLAGS) $< -o $@ -lreadline
|
|
clean:
|
|
rm -f interpreter repl
|
|
.PHONY: all clean
|