Skip to content

Add minimal library to be imported into Sparrow #25

Open
@lucteo

Description

@lucteo

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions