delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/06/25/09:09:43

From: Thommy M. Malmstroem <exjtmm AT tts DOT lth DOT se>
Date: Thu, 25 Jun 92 14:23:58 +0200
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: How to make up a makefile?

Hi all!

What's wrong with this makefile? 

Gives error:
C:\TGT>gmake
make: makefile:5: missing separator. Stop.


/Thommy M.
-------------------------------------------------------------------------------
#GMAKE-file for TGT.EXE (Use GMAKE (GNU MAKE utility))
#AXE Traffic Generator
 
tgt.exe : timer.o setup.o trafsig.o signals.o tgt.o
        gcc -o tgt timer.o setup.o trafsig.o signals.o tgt.o
        strip tgt
        aout2exe tgt
 
setup.o : setup.c emsim.h
        gcc setup.c -DDEBUG -DCHAT
 
timer.o : timer.c emsim.h
        gcc -c timer.c -DDEBUG -DCHAT
 
trafsig.o : trafsig.c emsim.h
        gcc -c trafsig.c -DDEBUG -DCHAT
 
signals.o : signals.c emsim.h
        gcc -c signals.c -DDEBUG -DCHAT
 
tgt.o : tgt.c emsim.h
        gcc -c tgt.c -DDEBUG -DCHAT
-------------------------------------------------------------------------------
Thommy M. MALMSTR\M    |  o ,__Q  |  Lund Institute of Technology
K{mn{rsv{gen 3 A:202   |  \-\_<,  |  Dept. of Communication Systems
S-226 46 LUND, SWEDEN  | (*)/'(*) |  Box 118, S-221 00 LUND, SWEDEN
+46-(0)46 13 21 78     |~~~~~~~~~~|  Tfn:+46-46 10 90 08, Fax:+46-46 14 58 23
                        HAIR TONICS, please!!


- Raw text -


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