mclements/xsb-timestamp

Makefile?

Opened this issue · 2 comments

Hi, can you add a makefile and/or instructions for adding this to XSB? should this live n the packages directory of XSB?

Marc,

I have now updated the README with:

To use the `timestamp` module, put the `timestamp.c` and `timestamp.H` files into the current working directory 
or into one of the directories defined by `library_directory(Dir)` (see section 3.6 of the XSM Manual 1).

I have also added a simple Makefile that largely follows the README. Is this what you had in mind?

Sincerely, Mark.

Thanks!

What i was thinking would be files suitable for dropping into the packages directory within XSB, which is here:
https://sourceforge.net/p/xsb/code/ci/git-origin/tree/XSB/packages/

I'm not fully familiar with user-defined packages ( bootstrap_userpackage ) so perhaps the current set of files is suitable for that.

Anything involving compiling C code ideally (for me) would be kept in XSB/packages/ so that it's a system-level compilation and install which simplifies deployment.