www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/26/02:10:00

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199603260651.AA138613107@relay1.geis.com>
Date: Tue, 26 Mar 96 06:45:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: XMODEM File: MAKE.OUT

I feel very stupid, but I have been having this problem with a makefile
I am trying to write that makes absolutely no sense whatsoever.

Whenever I run make on the makefile, it gives the following error,
no matter what arguments I pass:

makefile:10: *** missing separator.  Stop.

I know that the makefile isn't perfected, but I was hoping to get
a more specific error message than this.  I have tried numerous
revisions to get rid of it, but it just keeps popping up.  A search of
the info file for make turns up no reference to the word 'separator'
anywhere.

Here's the makefile.  All I want to know is why that particular error
is happening.
--- cut here ---
CC      = gcc
C_FLAGS = -Wall -g -O

TARGETS := $(wildcard lab*. proj*. lab*.exe proj*.exe)

.PHONY: all
all: $(TARGETS) ;

$(TARGETS): %.c pr_echo.o
        $(CC) $(C_FLAGS) -o $(*).exe $< pr_echo.o -lpc
        @-del $(*).o

pr_echo.o: pr_echo.c
        $(CC) $(C_FLAGS) -c pr_echo.c
--- end ---

--------
This letter has a file attached, to be downloaded to your personal Computer.
Download the file immediately.  The file will be deleted in 5 days, or on
960425 (30 days from when this letter was sent) whichever is earlier.
File: MAKE.OUT
1 XMODEM Blocks.
 To download, select  "Receive (Download) Attached File" on GEnie Page 200.

- Raw text -


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