minic: cleanup
This commit is contained in:
@@ -213,7 +213,6 @@ if (flags.with_audio) {
|
|||||||
if (flags.with_eval) {
|
if (flags.with_eval) {
|
||||||
project.add_define("WITH_EVAL");
|
project.add_define("WITH_EVAL");
|
||||||
project.add_cfiles("sources/libs/minic.c");
|
project.add_cfiles("sources/libs/minic.c");
|
||||||
project.add_cfiles("sources/libs/minic_api.c");
|
|
||||||
project.add_cfiles("sources/libs/minic_tests.c");
|
project.add_cfiles("sources/libs/minic_tests.c");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ if (platform == "wasm") {
|
|||||||
let project = new Project(flags.name);
|
let project = new Project(flags.name);
|
||||||
project.add_project("../base");
|
project.add_project("../base");
|
||||||
project.add_cfiles("sources/startup.c");
|
project.add_cfiles("sources/startup.c");
|
||||||
|
project.add_cfiles("sources/minic_api.c");
|
||||||
project.add_cfiles("sources/main.c");
|
project.add_cfiles("sources/main.c");
|
||||||
project.add_shaders("shaders/*.kong");
|
project.add_shaders("shaders/*.kong");
|
||||||
project.add_assets("assets/*", {destination : "data/{name}"});
|
project.add_assets("assets/*", {destination : "data/{name}"});
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "../../../paint/sources/types.h"
|
#include "types.h"
|
||||||
|
|
||||||
void console_log(char *s);
|
void console_log(char *s);
|
||||||
|
|
||||||
Reference in New Issue
Block a user