diff options
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <module> -o <module> - 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); } /** |