| Deutsch English Français Italiano |
|
<vb8aci$3hhg4$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.unix.programmer Subject: Re: Long filenames in DOS/Windows and Unix/Linux Date: Wed, 4 Sep 2024 00:41:55 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: <vb8aci$3hhg4$1@dont-email.me> References: <9e7a4bd1-bfbb-4df7-af1a-27ca9625e50bn@googlegroups.com> <ubg6o7$3jrsn$1@news.xmission.com> <ubg853$2ssj8$1@dont-email.me> <ubg8a8$2t20l$1@dont-email.me> <vaubbo$1d324$1@news.xmission.com> <vauknd$uvji$1@dont-email.me> <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> <vb87o7$3h6uk$2@dont-email.me> <87frqg1da2.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:41:55 +0200 (CEST) Injection-Info: dont-email.me; posting-host="176f5fbfb5d1157be6fd816dae78eee8"; logging-data="3720708"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183ZyUdmEsBXHWVhknCdPbd" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:aB98d3e2H8GyGxV0ODcHUWqtChc= Bytes: 2148 On Tue, 03 Sep 2024 17:19:17 -0700, Keith Thompson wrote: > Lawrence D'Oliveiro <ldo@nz.invalid> writes: > >> 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. The Makefiles in question are not using the default build rules for C code: they are building other things, with explicit use of the "$<" and "$@" variable substitutions.