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