make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with a trivial makefile


From: Eli Zaretskii
Subject: Re: Trouble with a trivial makefile
Date: Wed, 03 Dec 2003 18:42:20 +0200

> From: "Guillaume du Pontavice" <address@hidden>
> Date: Wed, 3 Dec 2003 08:41:53 +0100
> 
> i am in trouble with a trivial makefile, using  cygwin 1.5.5-1 and make
> 3.80-1 on Windows 2000 SP3
> 
> here it is : i have just created 5 folders (fold1 fold2 ... fold5) , each
> one contains one file ( respectively foo1.c foo2.c ... foo5.c)
> 
> you can recreate this tree using this :
> 
> mkdir fold1 fold2 fold3 fold4 fold5
> echo 0 > fold1/foo1.c
> echo 0 > fold2/foo2.c
> echo 0 > fold3/foo3.c
> echo 0 > fold4/foo4.c
> echo 0 > fold5/foo5.c
> 
> i then use this small makefile :
> 
> SRCS   := $(wildcard fold1/*.c fold2/*.c fold3/*.c fold4/*.c fold5/*.c)
> 
> all:
>  @echo $(SRCS)
> 
> 
> which should give me the following results :
> fold1/foo1.c fold2/foo2.c fold3/foo3.c fold4/foo4.c fold5/foo5.c
> 
> instead of that i just retrieve :
> $ make
> fold1/foo5.c fold2/foo5.c fold3/foo5.c fold4/foo5.c fold5/foo5.c

Sounds like a bug in the Make port you are using.  The DJGPP port of
Make gives me what you and I would expect.

You _are_ sure that the files were indeed created as you show above,
yes?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]