This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]