View Single Post
  #1   (View Single Post)  
Old 13th March 2009
BadWolf BadWolf is offline
New User
 
Join Date: Mar 2009
Location: Atlanta, GA
Posts: 2
Default Makefile Problem

Hi,

I downloaded a set of files from http://www.dk.freebsd.org/cgi/cvsweb....bin/compress/ and am currently trying to get the make file to compile. The makefile provided is as follows:

# @(#)Makefile 8.2 (Berkeley) 4/17/94
# $FreeBSD: src/usr.bin/compress/Makefile,v 1.8.18.1 2008/11/25 02:59:29 kensmith Exp $

PROG= compress
SRCS= compress.c zopen.c
LINKS= ${BINDIR}/compress ${BINDIR}/uncompress
MLINKS= compress.1 uncompress.1
WARNS?= 6

# XXX zopen is not part of libc
# MAN=zopen.3

.include <bsd.prog.mk>

when running the command make, it kept returning "*** missing separator. Stop." errors. I played around with it, and make seems to be happier with "include /usr/share/mk/bsd.prog.mk", however bsd.prog.mk uses the same form as above to include other files, and thus in turn causes the same missing separator errors, and of course this problem becomes recursive, as files call upon other bsd files, which call upon others.

Does anyone know whether this is a problem with my make progam? Or how this problem may be easily resolved?

Thank you,

BadWolf
Reply With Quote