This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Problem with make 'undef missing'
- From: "Philippe Bastiani" <philippe dot bastiani at wanadoo dot fr>
- To: cygwin at cygwin dot com
- Date: Sat, 6 Sep 2003 19:50:01 +0200
- Subject: Problem with make 'undef missing'
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/