Incrementally build test2 example

This commit is contained in:
Justin Ethier 2015-05-08 13:33:52 -04:00
parent ad5bd03d7d
commit 59bc8cdf4b

View file

@ -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