Subject: Re: Document for doing makefile or Makefile
To: None <port-arm32@netbsd.org>
From: Justin Stringfellow <justin.stringfellow@uk.sun.com>
List: port-arm32
Date: 05/24/2000 11:15:33
>hello,
>is there a document that explain how to write makefile or Makefile for NetBSD?
>for example, I have a hello.c file, at this time I don't know how to compile
>and link it. must I use cc, gcc, or other?
>thank's, bye.

You don't really need a makefile.

try 

gcc -o hello hello.c

or maybe 

make hello



        ______		Justin Stringfellow
       /_____/\		Support Engineer                 
      /____ \\ \	Sun Microsystems 
     /_____\ \\ / 	Watchmoor Park
    /_____/ \/ / /	Riverside Way    
   /_____/ /   \//\	Camberley   
   \_____\//\   / /	Surrey, UK
    \_____/ / /\ /	GU15 3YL 
     \_____/ \\ \             
      \_____\ \\ 	Tel. : +44 1276 416001			
       \_____\/		email : justin.stringfellow@uk.sun.com