From ea81a8087bcd7953b083a2be9db447f75e7ebf56 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Wed, 2 Apr 2014 22:23:37 -0500 Subject: All: split types into types, env, printer, core. - types: low-level mapping to the implementation language. - core: functions on types that are exposed directly to mal. - printer: implementation called by pr-str, str, prn, println. - env: the environment implementation - Also, unindent all TCO while loops so that the diff of step4 and step5 are minimized. --- c/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'c/Makefile') diff --git a/c/Makefile b/c/Makefile index 397bcbf..fab4447 100644 --- a/c/Makefile +++ b/c/Makefile @@ -6,8 +6,10 @@ LDFLAGS += -g TESTS = -SOURCES = types.h types.c readline.h readline.c reader.h reader.c \ - interop.h interop.c stepA_more.c +SOURCES = readline.h readline.c types.h types.c \ + reader.h reader.c printer.h printer.c \ + env.c core.h core.c interop.h interop.c \ + stepA_more.c ##################### @@ -16,8 +18,8 @@ SRCS = step0_repl.c step1_read_print.c step2_eval.c step3_env.c \ step8_macros.c step9_interop.c stepA_more.c OBJS = $(SRCS:%.c=%.o) BINS = $(OBJS:%.o=%) -OTHER_OBJS = types.o readline.o reader.o interop.o -OTHER_HDRS = types.h readline.h reader.h interop.h +OTHER_OBJS = types.o readline.o reader.o printer.o env.o core.o interop.o +OTHER_HDRS = types.h readline.h reader.h printer.h core.h interop.h GLIB_CFLAGS ?= $(shell pkg-config --cflags glib-2.0) GLIB_LDFLAGS ?= $(shell pkg-config --libs glib-2.0) -- cgit v1.2.3