diff options
author | Camil Staps | 2015-07-07 23:19:59 +0200 |
---|---|---|
committer | Camil Staps | 2015-07-07 23:19:59 +0200 |
commit | 4549122f5e59e7ff3f60184a0c2f5316afa11705 (patch) | |
tree | 2e5189011df341a23977e3d31a4b0de374ed407e /compile.c | |
parent | Initial commit (diff) |
Fixes & readme
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); } /** |