aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5ad62ed..0b52f38 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
CFLAGS = -std=c99 -Wall -Wextra -ggdb
-all: ell
-ell: ell.c
+
+all: interpreter
+interpreter: interpreter.c ell.c
+ $(CC) $(CFLAGS) $< -o $@
+repl: repl.c ell.c
$(CC) $(CFLAGS) $< -o $@
clean:
- rm ell
+ rm -f interpreter repl
.PHONY: all clean