Computer Chess Club Archives


Search

Terms

Messages

Subject: Help, I destroyed my makefile and can't fix it

Author: Pete Galati

Date: 18:37:05 08/25/99


Please help, Ive tried to shorten the name of my program by one letter from
Avogcp to Avocp and the changes that I made keep causing make to say:

[windows]C:\AVOGCP>make
makefile:33: *** missing separator.  Stop.

[windows]C:\AVOGCP>

And of coarse I have no idea what a separator is and can't dig up any info on
it, this is the makefile that I've tried to rebuild from the original with the
old name, and now the name is shortened again. Drives me nuts, I had the thing
working for a week or more until I tried to shorten the name. Below is the
makefile as it is at the moment.

Pete

#
# General macros
#
CFLAGS= -O7
AUXLIB=	-L/lib/ndp -L/usr/lib/ndp

#
# Header files
#
HDR=	\
        avodefs.h \
        avomain.h

#
# Source files
#
SRC=	\
        avomain.c

#
# Object files
#
OBJ=	\
        avomain.o

#
# Target link
#
avocp:    Makefile $(OBJ)
        gcc $(CFLAGS) -s -o avocp $(OBJ) $(AUXLIB)  <<this is the line 33

#
# Compilations
#
avomain.o:      avomain.c avodefs.h avomain.h
        gcc $(CFLAGS) -c -o avomain.o avomain.c


#
# Clean up
#
clean:
        rm -f avocp core $(OBJ)

#
# Makefile: EOF





This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.