[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *** target pattern contains no `%'. Stop.
From: |
Ralf Wildenhues |
Subject: |
Re: *** target pattern contains no `%'. Stop. |
Date: |
Thu, 16 Apr 2009 09:18:45 +0200 |
User-agent: |
Mutt/1.5.19 (2009-04-08) |
Hello,
* Henrik Carlqvist wrote on Wed, Apr 15, 2009 at 11:12:35PM CEST:
> KIRAN <kiraank@gmail.com> wrote:
> > OBJS = $(SRC_FILES:.c=.doj)
> > DEPS = $(SRC_FILES:.c=.d)
> > ASMS = $(ASM_FILES:.s=.doj)
>
> Those lines seem to be your problem, you probably meant:
>
> OBJS = $(SRC_FILES:%.c=%.doj)
> DEPS = $(SRC_FILES:%.c=%.d)
> ASMS = $(ASM_FILES:%.s=%.doj)
No, these lines are perfectly fine without %.
KIRAN, your 'make' doesn't cope with w32-style C:/paths, and interprets
the colon as separator between targes and prerequisites. If you're
using MinGW, there is another make that should cope; alternatively, you
can try using (converting them to, or getting the compiler to output)
unix-style paths instead.
Hope that helps.
Cheers,
Ralf