ref: 135492d18ca5251271e0a25e3b70c5c92c6ebd18
parent: 0c9010a117357e14ef92c79e9b892af9202327be
author: JeffBezanson <jeff.bezanson@gmail.com>
date: Mon Jun 30 21:58:16 EDT 2008
updating build for new repository structure
--- a/femtolisp/Makefile
+++ b/femtolisp/Makefile
@@ -5,9 +5,10 @@
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.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)