mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added test2 directive
This commit is contained in:
parent
4ec321882b
commit
00210d5731
1 changed files with 7 additions and 0 deletions
7
Makefile
7
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue