From 455845d078f39f3969139c6a0729e0b081cfa159 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 21 May 2017 12:47:09 +0200 Subject: Split out the interpreter --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2