Re: [cc65] Please critique this makefile

From: <silverdr1wfmh.org.pl>
Date: 2010-04-23 15:12:36
On 2010-04-23, at 14:24, Oliver Schmidt wrote:

> Hi,
>
>> 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:

?

-- 
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:13:37 2010

This archive was generated by hypermail 2.1.8 : 2010-04-23 15:13:39 CEST