Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.unix.programmer Subject: Re: Long filenames in DOS/Windows and Unix/Linux Date: Tue, 03 Sep 2024 17:19:17 -0700 Organization: None to speak of Lines: 26 Message-ID: <87frqg1da2.fsf@nosuchdomain.example.com> References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <20240903084440.0000663d@gmail.com> <20240903103327.395@kylheku.com> <20240903113937.000008a3@gmail.com> <20240903130000.933@kylheku.com> <20240903132547.00000656@gmail.com> <87seug1iyj.fsf@nosuchdomain.example.com> <20240903155649.659@kylheku.com> <87jzfs1f6p.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 04 Sep 2024 02:19:17 +0200 (CEST) Injection-Info: dont-email.me; posting-host="0c8cc2609bc8d9fbbbb3d106ce45f413"; logging-data="3715429"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+I8u3FjVm6uCuNpU48yFMe" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:aQZpL0WuyZf3VbVSwT9flqj/F6M= sha1:6mJ0JGYmA06aTgfLCBJ/i02cPYY= Xref: csiph.com comp.unix.programmer:16277 Lawrence D'Oliveiro writes: > On Tue, 03 Sep 2024 16:38:06 -0700, Keith Thompson wrote: >>> The make utility has no support for paths with spaces. >> >> Looks like you're right. > > I have some Makefiles with spaces in the dependency names, of the form: > > target\ name\ with\ space : source\ name\ with\ space I'd be interested in knowing how you do that. $ cat Makefile foo\ bar: foo\ bar.c $ make cc foo bar.c -o foo bar cc: fatal error: input file ‘foo’ is the same as output file compilation terminated. make: *** [: foo bar] Error 1 $ I'm using GNU Make 4.3. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */