aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-05-21 12:47:09 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-05-21 13:19:49 +0200
commit455845d078f39f3969139c6a0729e0b081cfa159 (patch)
tree9ea4b2ca263d99867ed8d99c7b8a8d48bb717f90 /Makefile
parentb31526d6ba610fbe355231339bb2b331bd4fb2af (diff)
downloadell-455845d078f39f3969139c6a0729e0b081cfa159.tar.gz
ell-455845d078f39f3969139c6a0729e0b081cfa159.tar.xz
ell-455845d078f39f3969139c6a0729e0b081cfa159.zip
Split out the interpreter
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