From 59bc8cdf4b9841dae9b20cc61502b96ed7a4b3df Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 8 May 2015 13:33:52 -0400 Subject: [PATCH] Incrementally build test2 example --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 29eff41f..7ff6970a 100644 --- a/Makefile +++ b/Makefile @@ -44,9 +44,10 @@ test: $(TESTFILES) cyclone test2: examples/hello-library/int-test/hello.c libcyclone.a ./cyclone -t examples/hello-library/hello.scm # ./cyclone -t examples/hello-library/libs/lib2.sld -# gcc examples/hello-library/int-test/lib2.c -I. -g -c -o lib2.o -# gcc examples/hello-library/int-test/hello.c -L. -lcyclone -lm -I. -g -o hello - gcc examples/hello-library/hello.c -L. -lcyclone -lm -I. -g -o hello + gcc examples/hello-library/int-test/lib2.c -I. -g -c -o lib2.o + gcc examples/hello-library/int-test/hello.c -I. -g -c -o hello.o + gcc hello.o lib2.o -L. -lcyclone -lm -o hello +# gcc examples/hello-library/hello.c -L. -lcyclone -lm -I. -g -o hello icyc: cyclone icyc.scm eval.scm parser.scm runtime.h ./cyclone icyc.scm