delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/15/12:32:04

From: "Daleg" <pekkaka AT dlc DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I run make, but get no target, or no rule for target test1.
Date: 15 May 1998 15:54:13 GMT
Organization: Scifi Communications International, http://www.sci.fi/, helpdesk AT sci DOT fi, +358 3 2899111
Lines: 31
Message-ID: <01bd806d$812de0a0$LocalHost@pekkapit>
References: <35525424 DOT F6809612 AT bc DOT sympatico DOT ca>
NNTP-Posting-Host: kou14.pp.dlc.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

 
> clean : del/y test1 $(objects)

it's seems your missing the gcc thing, so i make an example but remember to

put tab if you get missing separator errors to line which make points , or
same
thing if you get 'no rule errors'

example makefile

$(CC)            = gcc
$(FLAG)        = -O2

$(OBJ)          = prog.o
$(FILE)          = myfile.c

all : myprog

mprog : $(OBJ) $(FILE)
<tab>    $(CC) $(OBJ) $(FILE) -@[Someby fix this point!!] cause i dont
remember!!

tab key is located above Caps Lock.


-- 
 "Wisdom is not given....its earned."

   

- Raw text -


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