From 00210d57315fed92ddca02de580858477dd7725f Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Wed, 29 Apr 2015 14:12:49 -0400 Subject: [PATCH] Added test2 directive --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 8dcdb93a..e60f1625 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,13 @@ cyclone: cyclone.scm trans.so cgen.so parser.so libcyclone.a test: $(TESTFILES) cyclone $(foreach f,$(TESTSCM), echo tests/$(f) ; ./cyclone tests/$(f).scm && tests/$(f) && rm -rf tests/$(f);) +# A temporary testing directive +.PHONY: test2 +test2: examples/hello-library/int-test/hello.c + 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 + + icyc: cyclone icyc.scm eval.scm parser.scm runtime.h ./cyclone icyc.scm