www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/08/01:33:32

From: Richard Lee <leechih AT icom DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: *** Help me! I can't use "make" command ***
Date: Sun, 06 Jul 1997 22:52:32 +0600
Organization: canada
Lines: 24
Message-ID: <33BFCD50.1992437C@icom.ca>
NNTP-Posting-Host: 205.206.1.211
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Dear folks:

 I am trying to write a makefile to test "make" command.

Below is my makefile content:

line1->  test.exe : test.o
line2->               gcc -o test.o
line3->
line4->  test.o : test.c
line5->              gcc -c test.c

 I tried to use "make" command, the result was:
 c:\>make
 makefile:2: *** missing separator.Stop.

 I can compile in command line successful.
 c:\>gcc -o test.o -c test.c

 I check the syntax in makfile is correctly. I don't know how to
do it. Please help me! Thank you!

Richard (leechih AT icom DOT ca)

- Raw text -


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