scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 2dc37e0dadf780af8cdba452e3f7d6a28ab6b476
parent 60152abae659d0e540fd1afa15b738bb42ba87ad
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue,  7 Jun 2016 14:19:56 +0200

[driver] add support for .o input files

Diffstat:
driver/posix/scc.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/driver/posix/scc.c b/driver/posix/scc.c @@ -244,6 +244,8 @@ toolfor(char *file) return QBE; if (!strcmp(dot, ".as")) return AS; + if (!strcmp(dot, ".o")) + return LD; } die("scc: do not recognize filetype of %s", file);