diff options
| author | Michael Matz <matz@suse.de> | 2016-06-27 18:47:09 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2016-12-15 17:47:06 +0100 |
| commit | 2b3c7d2287ff9d5958f5e9d75d5881220a3c0f37 (patch) | |
| tree | e15eceeb38866541cce751b1a4dc34fe7fced7bf /tcc.c | |
| parent | b285fc50f37e7b1373b224b0de983793117ae015 (diff) | |
| download | tinycc-2b3c7d2287ff9d5958f5e9d75d5881220a3c0f37.tar.gz tinycc-2b3c7d2287ff9d5958f5e9d75d5881220a3c0f37.tar.bz2 | |
Change dependency file format a bit
The linux fixdep parse is very stupid and only recognizes
a target token when ':' is part of it. A space is permitted
in Makefile syntax, but it's easier to change our emitter
than all fixdep parsers out there.
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,7 @@ static void gen_makedeps(TCCState *s, const char *target, const char *filename) if (!depout) tcc_error("could not open '%s'", filename); - fprintf(depout, "%s : \\\n", target); + fprintf(depout, "%s: \\\n", target); for (i=0; i<s->nb_target_deps; ++i) fprintf(depout, " %s \\\n", s->target_deps[i]); fprintf(depout, "\n"); |
