Mail Archives: djgpp/1994/03/14/05:56:49
Hi again, I noticed that my code was taking a long time to compile and that
large sections of it were now complete, so I split it into several files and
tried to write a makefile.
I have never used Make before but I struggled on and produced what you see
below. When I try to run it I get the message:
:11:Missing seperator.stop.
I assume that the 11 is a line number, but I just cannot see what is wrong
with the makefile, can anyone help me please, this is driving me INSANE!!!
Here is the makefile, for your viewing pleasure (haha):
# makefile, this is line 1
.SUFFIXES: .exe .c .S .o
CC = gcc
LIBS = -lpc -lm -lgrx
OBJS = fishy.o menu.o view.o print.o
fishy: $(OBJS)
$(CC) -o fishy $(OBJS) $(LIBS)
fishy.o: fishy.h
$(CC) -c fishy.c
menu.o: fishy.h
$(CC) -c menu.c
view.o: fishy.h
$(CC) -c view.c
print.o: fishy.h
$(CC) -c print.c
Any help much appreciated.
--
"Just when you see the light at the end of the tunnel . . .
The roof caves in!"
Charlie Gamble
gambcl AT essex DOT ac DOT uk
- Raw text -