ell/Makefile

11 lines
220 B
Makefile
Raw Permalink Normal View History

2017-05-20 21:03:04 +02:00
CFLAGS = -std=c99 -Wall -Wextra -ggdb
2017-05-21 12:47:09 +02:00
all: interpreter
interpreter: interpreter.c ell.c
$(CC) $(CFLAGS) $< -o $@
repl: repl.c ell.c
2017-05-21 13:01:23 +02:00
$(CC) $(CFLAGS) $< -o $@ -lreadline
2017-05-06 13:27:02 +02:00
clean:
2017-05-21 12:47:09 +02:00
rm -f interpreter repl
2017-05-06 13:27:02 +02:00
.PHONY: all clean