Mail Archives: djgpp/1996/03/26/02:10:00
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 -