www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/01/13:04:28

From: florian <florian-biehlNOflSPAM AT t-online DOT de DOT invalid>
Subject: makefile
Newsgroups: comp.os.msdos.djgpp
Message-ID: <08539644.5194e296@usw-ex0109-069.remarq.com>
Lines: 56
Bytes: 1257
X-Originating-Host: 212.185.251.193
Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here
X-Wren-Trace: eND13dzFgsiDlsjXx5nQ14/BydDd2LDSmNPR39DKzN7b09CDj8KLj4SEmoeLwY2WiI8=
Date: Wed, 01 Dec 1999 09:16:43 -0800
NNTP-Posting-Host: 10.0.2.69
X-Complaints-To: wrenabuse AT remarq DOT com
X-Trace: WReNphoon3 944069453 10.0.2.69 (Wed, 01 Dec 1999 09:30:53 PST)
NNTP-Posting-Date: Wed, 01 Dec 1999 09:30:53 PST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I need help on creating/changing a makefile for gcc.

  The thing I want to do is to compile a library for a
conversion program called "f2c" for win NT. There are
several makefiles attached to the source code but none for
gcc.
  Trying to compile the library sourcecode gives en error
message "don't know how to make".

  If you know the rules please tell me. I don't have a clue
on programming etc.

  Florian

  Here's the makefile for the microsoft compiler:

  # For making f2c.lib (here called vcf2c.lib) with
Microsoft Visual C++ .
  # Invoke with "nmake -f makefile.vc" .
  CC = cl
  CFLAGS = -c -DUSE_CLOCK -DMSDOS -DNO_ONEXIT -Ot1

  .c.obj:
    (CC) $(CFLAGS) $*.c

  w = \

  abort_.obj \

  backspac.obj \

  (... list of all object files ...)

  z_sqrt.obj

  all: f2c.h math.h signal1.h vcf2c.lib f2c.h: f2c.h0

  copy f2c.h0 f2c.h

  math.h: math.hvc

  copy math.hvc math.h

  signal1.h: signal1.h0

  copy signal1.h0 signal1.h

  vcf2c.lib: $w

  lib -out:vcf2c.lib @libf2c.lbc

  open.obj: open.c
    (CC) $(CFLAGS) -DMSDOS open.c


* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

- Raw text -


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