diff --git a/Makefile b/Makefile index 61bac1a1..c66c643b 100644 --- a/Makefile +++ b/Makefile @@ -342,3 +342,7 @@ install-bin : cyclone icyc $(MKDIR) $(DESTDIR)$(BINDIR) $(INSTALL) -m0755 cyclone $(DESTDIR)$(BINDIR)/ $(INSTALL) -m0755 icyc $(DESTDIR)$(BINDIR)/ + +# TODO: is this linking in local lcyclone or the system one???? +test-lib: test-lib.c + $(CC) test-lib.c -o test-lib -L . $(LIBS) diff --git a/test-lib.c b/test-lib.c new file mode 100644 index 00000000..7173254e --- /dev/null +++ b/test-lib.c @@ -0,0 +1,7 @@ +#include +#include "include/cyclone/types.h" +#include "include/cyclone/runtime.h" + +void main(){ + printf("TODO %p\n", boolean_f); +}