delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/21/13:11:38

From: "Marcin Gierdalski" <baclofen AT nencki DOT gov DOT pl>
Date: Mon, 21 Jun 93 18:48:41 GMT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: looking for objects...

Hi,

 I have just started to use djgpp (hours..). There appeared some troubles 
while making makefile :

****** makefile for Sun GNU **********


OBJECTS = clustalv.o amenu.o myers.o sequence.o showpair.o \
          upgma.o util.o trees.o gcgcheck.o

SOURCES = clustalv.c amenu.c myers.c sequence.c showpair.c \
          upgma.c util.c trees.c gcgcheck.c

HEADERS = general.h clustalv.h

CFLAGS  = -c

clustalv : $(OBJECTS)
 gcc -o $@ $(OBJECTS) -lm

clustalv.o : clustalv.c $(HEADERS) matrices.h
 gcc $(CFLAGS) clustalv.c

.c.o : $(SOURCES)
 gcc $(CFLAGS) $?
!!!!!!!!
********* end of makefile ***********


GNU was compiling (e.g. "gcc -c clustalv.c", and so on), but linker failed 
saying "clustalv.o not found" and so on respectively.
In fact there was no object file on my disk.
What is wrong?
Well, it may be trivial, but I have no experience on GNU C compiler.
That very project violated me to start with djgpp (it needs a lot of 
memory).

Thanks in advance,

Marcin
----------------------------------------------------------------------
Marcin Gierdalski
                                     internet: baclofen AT nencki DOT gov DOT pl
Nencki Institute of Exp. Biol.                 baclofen AT plearn DOT edu DOT pl
Dept. of Neurophysiology             bitnet:   baclofen AT plearn DOT bitnet
3 Pasteur St
Warsaw
POLAND
----------------------------------------------------------------------

- Raw text -


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