From: jstacey AT plato DOT wadham DOT ox DOT ac DOT uk (J-P) Newsgroups: comp.os.msdos.djgpp Subject: Errors in PMCOM makefile? Date: 19 Feb 2001 10:37:56 -0000 Organization: Wadham College, Oxford Lines: 30 Message-ID: <96qt24$n0l$1@plato.wadham.ox.ac.uk> NNTP-Posting-Host: plato.wadham.ox.ac.uk X-Trace: news.ox.ac.uk 982579374 8519 163.1.164.74 (19 Feb 2001 10:42:54 GMT) X-Complaints-To: newsmaster AT ox DOT ac DOT uk NNTP-Posting-Date: 19 Feb 2001 10:42:54 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm trying to make the serial libraries for PMCOM 1.0 (downloaded from . However, the makefile included throws up a dozen syntax errors, and I don't know enough about makefiles (yet!) to correct them. One error is on the second line of what I've quoted below: ifdef _DEBUG OUTPUTDIR = dbg TARGET = dbg/com.a GCCOPTIONS = -g -Wall -D_DEBUG else OUTPUTDIR = rel TARGET = rel/com.a GCCOPTIONS = -s -O1 -Wall endif (these are the first few lines of the makefile, so there isn't an error above them causing a Mandelbug). I can't see an obvious syntax error: GNU makefiles don't need "!"s, do they? Has anyone had any better experience of compiling these libraries? Or does anyone have any DOS/DJGPP binaries of libcom.a that I can use? Many thanks, J-P -- Neil threw himself into an explanation of a diagram of a sea of troubles, that he'd drawn on an overhead transparency.