Skip to content
/ Melon Public

Core library for software

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENCE
Unknown
LICENCE.alt
Notifications You must be signed in to change notification settings

knot126/Melon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Melon Software Library

Melon is a replacement core library for the C language. It is aimed to be a general purpose library with some extra bias for games.

Please note that Melon is currently only available under the same terms as the Microsoft Reference Source License, or the terms of the Melon Alternate License.

Usage

To include in projects, add the .c files in the src folder to the projects files, likely under the melon subfolder.

For example:

build.sh
cp -r ./melon/src ./hello/melon
cc -o hello ./hello/hello.c $(ls ./hello/util/*.c) -I./hello
hello/hello.c
#include "melon/melon.h"

int main(const int argc, char *argv[]) {
	DgLog(DG_LOG_INFO, "Hello, world!");
	return 0;
}