Re: [cc65] Please critique this makefile

From: <silverdr1wfmh.org.pl>
Date: 2010-04-23 15:37:07
On 2010-04-23, at 15:26, Oliver Schmidt wrote:

>>>> obj/main.o:     src/main.c /usr/local/lib/cc65/include/stdio.h
>>>> /usr/local/lib/cc65/include/stddef.h /usr/local/lib/cc65/include/ 
>>>> stdarg.h
>>>> dio.h /usr/local/lib/cc65/include/stddef.h
>>>> /usr/local/lib/cc65/include/stdarg.h:
>>>>
>>>> I wonder where does the second line come from - the one with  
>>>> 'dio.h'
>>>
>>> Please note that there's no ':' after dio.h, rather there's a ':' at
>>> the end of the line.
>>
>> I wasn't clear - I mean where does "dio.h" come from? I  
>> #include<stdio.h> so
>> I believe it should take the prerequisites from the previous line  
>> and turn
>> them into targets, which would lead it to be:
>>
>> /usr/local/lib/cc65/include/stdio.h /usr/local/lib/cc65/include/ 
>> stddef.h
>> /usr/local/lib/cc65/include/stdarg.h:
>
> Sorry, now I understand your issue! You're of course right. The second
> line should look like you show it here. i've no idea right now what's
> going on. Is it reproducable?

Yes - it is. This is what remains in the obj dir every time after  
issuing "make".

-- 
SD!
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Apr 23 15:37:15 2010

This archive was generated by hypermail 2.1.8 : 2010-04-23 15:37:18 CEST