From 135492d18ca5251271e0a25e3b70c5c92c6ebd18 Mon Sep 17 00:00:00 2001 From: JeffBezanson Date: Tue, 1 Jul 2008 01:58:16 +0000 Subject: [PATCH] updating build for new repository structure --- femtolisp/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/femtolisp/Makefile b/femtolisp/Makefile index 04e5cea..5fc3dfd 100644 --- a/femtolisp/Makefile +++ b/femtolisp/Makefile @@ -5,9 +5,10 @@ SRCS = $(NAME).c builtins.c equal.c OBJS = $(SRCS:%.c=%.o) DOBJS = $(SRCS:%.c=%.do) EXENAME = $(NAME) -LLT = llt/libllt.a +LLTDIR = ../llt +LLT = $(LLTDIR)/libllt.a -FLAGS = -Wall -Wextra -Wno-strict-aliasing -I./llt $(CFLAGS) +FLAGS = -Wall -Wextra -Wno-strict-aliasing -I$(LLTDIR) $(CFLAGS) LIBS = $(LLT) -lm DEBUGFLAGS = -g -DDEBUG $(FLAGS) @@ -27,7 +28,7 @@ flisp.o: flisp.c cvalues.c flisp.h print.c read.c flisp.do: flisp.c cvalues.c flisp.h print.c read.c $(LLT): - cd llt && make + cd $(LLTDIR) && make debug: $(DOBJS) $(LIBS) $(CC) $(DEBUGFLAGS) $(DOBJS) -o $(EXENAME) $(LIBS)