Path: utzoo!utgpu!watmath!att!dptg!rutgers!cs.utexas.edu!uunet!mcsun!hp4nl!nikhefh!n62 From: n62@nikhefh.hep.nl (Klamer Schutte) Newsgroups: comp.sys.atari.st Subject: Re: help for C novice with sozobon Message-ID: <245@nikhefh.hep.nl> Date: 31 Aug 89 12:31:22 GMT References: <1758193@mtsg.ubc.ca> <1989Aug30.212827.19235@sj.ate.slb.com> Reply-To: n62@nikhefh.hep.nl (Klamer Schutte) Organization: Nikhef-H, Amsterdam (the Netherlands). Lines: 27 In article <1989Aug30.212827.19235@sj.ate.slb.com> greg@sj.ate.slb.com (Greg Wageman) writes: >In article <1758193@mtsg.ubc.ca> Peter_Lawrence_Jackson@MTSG.UBC.CA writes: >>Help! I am a fortran programmer trying to learn C using the sozobon/dlibs >>package. I can't get the compiler to work on the following hello world > >No doubt your problems will disappear when you specify the filename >correctly. In addition, if your makefile is set up properly, you >shouldn't need a drive specifier at all. If your rule looks like > >hello.tos : hello.c > cc -o hello.tos > >then the command "make hello.tos" should be sufficient, assuming your Lets fix it now to a correct one: make the makefile as hello.tos: hello.o cc -o hello.tos hello.o and typing "make" should be sufficient. Klamer. -- ________________________________________________________________________________ Klamer Schutte mcvax!nikhefh!{n62,Schutte} {Schutte,n62}@nikhefh.hep.nl