From 4549122f5e59e7ff3f60184a0c2f5316afa11705 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 7 Jul 2015 23:19:59 +0200 Subject: Fixes & readme --- compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 3b92ed2..2295f20 100644 --- a/compile.c +++ b/compile.c @@ -42,7 +42,7 @@ * * @return void */ -void compile(CleanString path, CleanString module) { +int64_t compile(CleanString path, CleanString module) { char* pathchars, * modulechars; int pathlength, modulelength; @@ -71,13 +71,13 @@ void compile(CleanString path, CleanString module) { // Build command: // clm -ms -o - char cmd[64] = "clm -ms "; + char cmd[64] = "clm -ms -nw "; strcat(cmd, modulechars); strcat(cmd, " -o "); strcat(cmd, modulechars); // Call clm - system(cmd); + return system(cmd); } /** -- cgit v1.2.3