bug-make
[Top][All Lists]
Advanced

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

make 3.80 bug and testcase


From: Samium Gromoff
Subject: make 3.80 bug and testcase
Date: Tue, 17 Jun 2003 15:52:38 +0400

make 3.80 is subject to a problem which is demonstrated by the following shell 
snippet:

================ 8< ====================
for a in `seq 1 5`; do touch 0123456789012345678901234567890123$a.c; done

cat > Makefile <<'DELIM'
define BUG
SRC := $$(wildcard *.c)
#OBJ := $$(SRC:.c=.o)
OBJ := $$(patsubst %.c,%.o,$$(SRC))

$$(OBJ):%.o:%.c
endef

$(eval $(call BUG))
DELIM

make
================ 8< ====================

-- 
regards, Serge Kosyrev aka Samium Gromoff




reply via email to

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