delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/09/10:44:43

From: "Robert L." <vlad3 AT sympatico DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: makefile
Lines: 15
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Message-ID: <s71I4.12862$2D6.284855@news20.bellglobal.com>
Date: Sun, 09 Apr 2000 15:14:32 GMT
NNTP-Posting-Host: 216.209.196.90
X-Trace: news20.bellglobal.com 955293272 216.209.196.90 (Sun, 09 Apr 2000 11:14:32 EDT)
NNTP-Posting-Date: Sun, 09 Apr 2000 11:14:32 EDT
Organization: Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

i want to learn how to make the makefile.
i have all info, but i don't know how to link obj file.

and if i have 1 cpp file, and i want to link with iostream obj file.

prog.obj : prog.cpp
    gxx -c -o prog.obj prog.cpp
# link time, how to make it.

I know i don't have to do a makefile with 1 cpp, but if i know how, i can
make bigger project.

Thanks.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019