Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimal library to be imported into Sparrow #25

Open
lucteo opened this issue Dec 28, 2016 · 0 comments
Open

Add minimal library to be imported into Sparrow #25

lucteo opened this issue Dec 28, 2016 · 0 comments
Assignees

Comments

@lucteo
Copy link
Contributor

lucteo commented Dec 28, 2016

Very minimal library: one header + one C source file

min.h:
int min(int a, int b);

min.c:
int min(int a, int b) {
return a<b ? a : b;
}

Add a makefile that creates a static library (libmin.a) our of the given files.

This will be used as a working library of C code to import.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants