summaryrefslogtreecommitdiff
path: root/myrbuild
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-03-10 11:44:03 -0400
committerOri Bernstein <ori@eigenstate.org>2014-03-10 11:44:03 -0400
commit1f979324794c81c3e8587b27c6124c640be9f9d5 (patch)
tree3e3cefa9cfa0226d97d422fa4034c7cfa6e4b424 /myrbuild
parent4fb00e671f84192b77bbca4c095b5c5cdf755e31 (diff)
downloadmc-1f979324794c81c3e8587b27c6124c640be9f9d5.tar.gz
Actually enable assembly generation.
Diffstat (limited to 'myrbuild')
-rw-r--r--myrbuild/myrbuild.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/myrbuild/myrbuild.c b/myrbuild/myrbuild.c
index 9e57dea..b37fbfb 100644
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -55,6 +55,7 @@ static void usage(char *prog)
printf("\t-l lib\tBuild a library called 'name'\n");
printf("\t-s script\tUse the linker script 'script' when linking\n");
printf("\t-I path\tAdd 'path' to use search path\n");
+ printf("\t-S\tGenerate assembly files for all compiled code\n");
}
int hassuffix(char *path, char *suffix)
@@ -452,7 +453,7 @@ int main(int argc, char **argv)
if (uname(&name) == 0)
sysname = strdup(name.sysname);
- while ((opt = getopt(argc, argv, "hb:l:s:I:C:A:M:L:R:")) != -1) {
+ while ((opt = getopt(argc, argv, "hb:l:s:SI:C:A:M:L:R:")) != -1) {
switch (opt) {
case 'b': binname = optarg; break;
case 'l': libname = optarg; break;