public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem with make 'undef missing'
@ 2003-09-06 17:51 Philippe Bastiani
  2003-09-06 19:26 ` Igor Pechtchanski
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Bastiani @ 2003-09-06 17:51 UTC (permalink / raw)
  To: cygwin

Hi,

I use a generic makefile on several systems... In the past, this makefile
worked fine under Cygwin !
Now, I obtain the following error: 'makefile.def:3: *** <endef> missing...

See, the following stupid makefile:
*** Begin of file ***
ifneq ($(strip $(SUBDIRS)),)
else
<TAB>define MAKE_SUBDIRS
<TAB><TAB>$(MAKE_NOTHING)
<TAB>endef
endif

.PHONY  : all
all  :  depend

.PHONY : depend
depend depends: $(CCLIST) $(CLIST)
$(MAKE_DEPENDS)
$(MAKE_SUBDIRS)
*** end of file ***

Please note: if I replace the <TAB> character (line 5, before the endef) by
blank characters.. make works with no error !

a+
-- 
Philippe Bastiani




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with make 'undef missing'
  2003-09-06 17:51 Problem with make 'undef missing' Philippe Bastiani
@ 2003-09-06 19:26 ` Igor Pechtchanski
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Pechtchanski @ 2003-09-06 19:26 UTC (permalink / raw)
  To: Philippe Bastiani; +Cc: cygwin

On Sat, 6 Sep 2003, Philippe Bastiani wrote:

> Hi,
>
> I use a generic makefile on several systems... In the past, this makefile
> worked fine under Cygwin !
> Now, I obtain the following error: 'makefile.def:3: *** <endef> missing...
>
> See, the following stupid makefile:
> *** Begin of file ***
> ifneq ($(strip $(SUBDIRS)),)
> else
> <TAB>define MAKE_SUBDIRS
> <TAB><TAB>$(MAKE_NOTHING)
> <TAB>endef
> endif
>
> .PHONY  : all
> all  :  depend
>
> .PHONY : depend
> depend depends: $(CCLIST) $(CLIST)
> $(MAKE_DEPENDS)
> $(MAKE_SUBDIRS)
> *** end of file ***
>
> Please note: if I replace the <TAB> character (line 5, before the endef) by
> blank characters.. make works with no error !
>
> a+

Philippe,

This was reported before (quite recently, maybe in the past couple of
months).  I don't recall the exact details or whether there was a
resolution, but you should be able to find it in the archives.  Sorry I
couldn't me more helpful.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-06 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-06 17:51 Problem with make 'undef missing' Philippe Bastiani
2003-09-06 19:26 ` Igor Pechtchanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).