www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/06/13:51:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Philippe Bastiani" <philippe DOT bastiani AT wanadoo DOT fr>
Subject: Problem with make 'undef missing'
Date: Sat, 6 Sep 2003 19:50:01 +0200
Lines: 32
Message-ID: <bjd6q2$371$1@sea.gmane.org>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019