delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/03/10:51:28

Date: Mon, 3 Jul 1995 10:07:51 -0400
From: kagel AT quasar DOT bloomberg DOT com
To: axl AT zedat DOT fu-berlin DOT de
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: gnuplot 3.6.212 not compiling under gcc(djgpp)
Reply-To: kagel AT ts1 DOT bloomberg DOT com

   From: axl AT zedat DOT fu-berlin DOT de (Axel Thimm)
   Date: 2 Jul 1995 15:20:27 GMT
   Organization: Freie Unversitaet Berlin

   The default makefile for making gnuplot 3.6.212 under djgpp starts like
this:

   # make file for DJGPP 
   # compile it by   make -f makefile.djg

   # where to place gnuplot.gih helpfile
   HELPFILE = gnuplot.gih

   # exe file will be  gp36.exe:
   EXENAME = gp36

   # compiler
   CCDIR = p:\djgpp\bin\
   CC = $(CCDIR)gcc

[DELETED]

   OBJ4 =  version.o binary.o interpol.o fit.o matrix.o datafile.o alloc.o

   OBJS =  $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4)

   ..c.o:  
	   $(CC) -c $(CFLAGS) $(INCLUDE) $<

   [snip]
   (Last line "$(CC) ..." is line 44)

   Running make 3.73 Beta on this file returns:

   makefile:44: *** missing separator.  Stop.

   Can anyone help me with the makefile? I'd  very much like to finally compile
   and see the new gnuplot :(

   Thanks,
   Axel Thimm

Yes.  You are apparently using GNU make.  It does not like the drive
specification (p:) in the definition of CCDIR when it is invoked on line 44 as
part of the definition of CC.  Just put the p:\djgpp\bin directory into your
PATH and eliminate the reference to $(CCDIR) in the definition of CC and all
will be well.

-- 
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com

Variety is the soul of pleasure.  --  Aphra Behn

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019