home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / DJGPP / DJLSR106.ZIP / LIBSRC / GCC / MAKEFILE.N < prev    next >
Encoding:
Text File  |  1992-04-13  |  2.6 KB  |  118 lines

  1. # This file is generated from maketmpl by mm.c
  2. # This is file Maketmpl
  3. #
  4. # Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  5. #
  6. # This file is distributed under the terms listed in the document
  7. # "copying.dj", available from DJ Delorie at the address above.
  8. # A copy of "copying.dj" should accompany this file; if not, a copy
  9. # should be available from where this file was obtained.  This file
  10. # may not be distributed without a verbatim copy of "copying.dj".
  11. #
  12. # This file is distributed WITHOUT ANY WARRANTY; without even the implied
  13. # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15.  
  16. # History:4,12
  17. # Makefile for libgcc.a
  18. #
  19. # This makefile is set up for use with NDMAKE
  20. #
  21.  
  22. VPATH=.;gpp;io;gnu
  23.  
  24. ENDOFLIST=
  25.  
  26. CFLAGS = -O
  27.  
  28. LIB=..\..\lib
  29.  
  30. .S.o :
  31.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  32.  
  33. .c.o :
  34.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  35.  
  36. .cc.o :
  37.     gcc $(PG) $(CFLAGS) -c $(<D)/$(<F) -o $(ODIR)/$(@F)
  38.  
  39. OBJS = \
  40.     $(ODIR)/obstack.o \
  41.     $(ODIR)/alloca.o \
  42.     $(ODIR)/acg.o \
  43.     $(ODIR)/allocrin.o \
  44.     $(ODIR)/discunif.o \
  45.     $(ODIR)/bitstrin.o \
  46.     $(ODIR)/bitset.o \
  47.     $(ODIR)/fix.o \
  48.     $(ODIR)/integer.o \
  49.     $(ODIR)/erlang.o \
  50.     $(ODIR)/obstack.o \
  51.     $(ODIR)/eh.o \
  52.     $(ODIR)/geom.o \
  53.     $(ODIR)/ioob.o \
  54.     $(ODIR)/fix16.o \
  55.     $(ODIR)/fix24.o \
  56.     $(ODIR)/hypgeom.o \
  57.     $(ODIR)/getopt.o \
  58.     $(ODIR)/lognorm.o \
  59.     $(ODIR)/negexp.o \
  60.     $(ODIR)/mlcg.o \
  61.     $(ODIR)/normal.o \
  62.     $(ODIR)/uniform.o \
  63.     $(ODIR)/poisson.o \
  64.     $(ODIR)/rng.o \
  65.     $(ODIR)/rational.o \
  66.     $(ODIR)/string.o \
  67.     $(ODIR)/rndint.o \
  68.     $(ODIR)/sample.o \
  69.     $(ODIR)/smplhist.o \
  70.     $(ODIR)/smplstat.o \
  71.     $(ODIR)/complex.o \
  72.     $(ODIR)/weibull.o \
  73.     $(ODIR)/bcopy.o \
  74.     $(ODIR)/builtin.o \
  75.     $(ODIR)/chr.o \
  76.     $(ODIR)/compare.o \
  77.     $(ODIR)/ctype.o \
  78.     $(ODIR)/delete.o \
  79.     $(ODIR)/dtoa.o \
  80.     $(ODIR)/error.o \
  81.     $(ODIR)/fmtq.o \
  82.     $(ODIR)/gcd.o \
  83.     $(ODIR)/hash.o \
  84.     $(ODIR)/lg.o \
  85.     $(ODIR)/math.o \
  86.     $(ODIR)/minmax.o \
  87.     $(ODIR)/new.o \
  88.     $(ODIR)/pow.o \
  89.     $(ODIR)/sqrt.o \
  90.     $(ODIR)/str.o \
  91.     $(ODIR)/timer.o \
  92.     $(ODIR)/binomial.o \
  93.     $(ODIR)/editbuf.o \
  94.     $(ODIR)/filebuf.o \
  95.     $(ODIR)/fstream.o \
  96.     $(ODIR)/igetline.o \
  97.     $(ODIR)/indstrea.o \
  98.     $(ODIR)/iostream.o \
  99.     $(ODIR)/makebuf.o \
  100.     $(ODIR)/parsestr.o \
  101.     $(ODIR)/plotfile.o \
  102.     $(ODIR)/sbufvfor.o \
  103.     $(ODIR)/sbufvsca.o \
  104.     $(ODIR)/sfile.o \
  105.     $(ODIR)/sgetline.o \
  106.     $(ODIR)/stdstrbu.o \
  107.     $(ODIR)/stdstrea.o \
  108.     $(ODIR)/stream.o \
  109.     $(ODIR)/streambu.o \
  110.     $(ODIR)/strstrea.o \
  111.     $(ODIR)/strtoul.o \
  112.     $(ENDOFLIST)
  113.  
  114. $(LIB)\libgcc$(PS).a : $(OBJS)
  115.     -del $@
  116.     @>lib$(PS).rf $(OBJS)
  117.     ar rs $@ @lib$(PS).rf
  118.