Thread View: comp.unix.programmer
3 messages
3 total messages
Started by Jens Piel
Mon, 26 Jul 1999 00:00
HELP: use of filenames with colons within GNUmake
Author: Jens Piel
Date: Mon, 26 Jul 1999 00:00
Date: Mon, 26 Jul 1999 00:00
24 lines
1585 bytes
1585 bytes
Hello, I have got a problem. Please excuse me, if it's allready a FAQ. We use GNUmake to control the compilation of some files. Everything works fine up to now. Now, the problem is that the filenames are containing multiple colon characters. GNUmake interpretes this wrongly as the delimiter between target and dependencies. It's not possible to rename the files permanently. Does there exist a possibility to escape the colon character in filenames within GNUmake? Is there some other solution? J. Piel -- | STN Atlas Elektronik GmbH D-28305 Bremen | | Jens Piel Simulation Division SES2 Sebaldsbruecker Heerstr. 235 | | jpiel@atlas.de +49/421/457-4104 -3081 fax |
Re: HELP: use of filenames with colons within GNUmake
Author: Lew Pitcher
Date: Mon, 26 Jul 1999 00:00
Date: Mon, 26 Jul 1999 00:00
42 lines
2222 bytes
2222 bytes
I don't know how to force GNU make to accept filenames that use embedded colons. However, what would be the problem with making hard or soft links to the files in question, such that the name of the linked file *doesn't* use an embedded colon, then altering the Makefile to use these linked filenames? On Mon, 26 Jul 1999 14:49:28 +0200, Jens Piel <jpiel@stn-atlas.de> wrote: >Hello, > >I have got a problem. Please excuse me, if it's allready a FAQ. > >We use GNUmake to control the compilation of some files. Everything >works fine up to now. Now, the problem is that the filenames are >containing multiple colon characters. GNUmake interpretes this wrongly >as the delimiter between target and dependencies. It's not possible to >rename the files permanently. > >Does there exist a possibility to escape the colon character in >filenames within GNUmake? Is there some other solution? > > > J. Piel > > >-- >| STN Atlas Elektronik GmbH D-28305 Bremen >| >| Jens Piel Simulation Division SES2 Sebaldsbruecker Heerstr. 235 >| >| jpiel@atlas.de +49/421/457-4104 -3081 fax >| Lew Pitcher System Consultant, Integration Solutions Architecture Toronto Dominion Bank (pitchl@tdbank.ca) (Opinions expressed are my own, not my employer's.)
Re: HELP: use of filenames with colons within GNUmake
Author: Florian Weimer
Date: Tue, 27 Jul 1999 00:00
Date: Tue, 27 Jul 1999 00:00
7 lines
1325 bytes
1325 bytes
Jens Piel <jpiel@stn-atlas.de> writes: > Does there exist a possibility to escape the colon character in > filenames within GNUmake? Is there some other solution? Have you tried quoting the colon with a `\'? A quick test with GNU make 3.76 shows that this might work.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads