| delorie.com/archives/browse.cgi | search |
| From: | kolli_s AT hotmail DOT com |
| Newsgroups: | comp.os.msdos.djgpp,comp.os.ms-windows.programmer.win32,comp.programming |
| Subject: | gnumake problem with ':' (colon)... |
| Date: | Wed, 29 Apr 1998 19:51:42 -0600 |
| Organization: | Deja News - The Leader in Internet Discussion |
| Lines: | 31 |
| Message-ID: | <6i8huu$q96$1@nnrp1.dejanews.com> |
| NNTP-Posting-Host: | 206.137.59.6 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hi,
I am try to write a makefile that looks like follows:
----------------------------------------------------------
HOME= D:\test
all: $(HOME)/test
$(HOME)/test:
<tab>@echo "test.."
-----------------------------------------------------------
<tab> is where I insert a <tab>.
Make is complaining about "*** missing separator" at Line #5.
If I replace line# 5 with:
D\:\test/test
it runs fine. But it is very kludgy...
Is there anyway I can supress ':' in the target list?
Thank you for your time. I would appreciate if you Cc: your response to
'kolli_s AT hotmail DOT com'
-Sudhir Kolli
kolli_s AT hotmail DOT com
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |