Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Brian Fallik" To: Subject: Variables in Makefiles Date: Thu, 20 Nov 2003 15:34:58 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Processed: Assurtech.com, Thu, 20 Nov 2003 15:35:51 -0500 (not processed: message from valid local sender) X-Return-Path: fallik AT assurtech DOT com X-MDaemon-Deliver-To: cygwin AT cygwin DOT com Reply-To: fallik AT assurtech DOT com Cygwin folks, I'm having trouble getting makefiles to work in the cygwin environment. They work perfectly fine in Linux. I've checked the mailing list archives, google, google groups, and the faq for help but haven't found the solution. Any help would be appreciates. Please CC me on responses as I'm not subscribed. Did I miss something obvious? Thanks, brian =============== On Linux (YDL 2.3) I have an extensive non-recursive makefile structure. make -v shows GNU Make version 3.79.1. On Win 2000 I've installed cygwin and the development tools. make -v shows GNU Make 3.80. When I try to run make from the root directory (in both --unix and not) I get output like the following repeated over and over: c:\***/asip/netdefinition/build/gmake/Rules.mk:79: no file name for `-include' I believe this is just a warning but I'm concerned it may cause a problem later on. Additionally and perhaps more importantly, make doesn't actually do anything. It seems to be producing .a files without compiling anything. If I try make with warn-undefined-variables I get many warnings undefined vars and if I try to echo some vars used in my makefiles they all appear empty. For instance, this makefile section: SRCS_$(d) := \ ../../source/product/Alarm_impl.cpp test: echo $(SRCS_$(d)) echoes nothing when run on Windows but echoes ../../source/product/Alarm_impl.cpp on Linux. -- 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/