home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / djgpp / libsrc / m / makefile < prev    next >
Encoding:
Makefile  |  1991-04-05  |  1.1 KB  |  58 lines

  1. # This is file Makefile
  2. #
  3. # Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  4. #
  5. # This file is distributed under the terms listed in the document
  6. # "copying.dj", available from DJ Delorie at the address above.
  7. # A copy of "copying.dj" should accompany this file; if not, a copy
  8. # should be available from where this file was obtained.  This file
  9. # may not be distributed without a verbatim copy of "copying.dj".
  10. #
  11. # This file is distributed WITHOUT ANY WARRANTY; without even the implied
  12. # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14.  
  15. CFLAGS = -O
  16.  
  17. .s.o :
  18.     gcc $(CFLAGS) -c $*.s
  19.  
  20. .c.o :
  21.     gcc $(CFLAGS) -c $*.c
  22.  
  23. O =\
  24.     acos.o \
  25.     acosh.o \
  26.     asin.o \
  27.     asinh.o \
  28.     atan.o \
  29.     atan2.o \
  30.     atanh.o \
  31.     ceil.o \
  32.     cos.o \
  33.     cosh.o \
  34.     exp.o \
  35.     fabs.o \
  36.     floor.o \
  37.     fmod.o \
  38.     frexp.o \
  39.     hypot.o \
  40.     log.o \
  41.     log10.o \
  42.     sin.o \
  43.     sinh.o \
  44.     sqrt.o \
  45.     tan.o \
  46.     tanh.o
  47.  
  48. ../../lib/libm.a : libm.a
  49.     cp libm.a ../../lib
  50.     ar s ../../lib/libm.a
  51.  
  52. libm.a : $(O)
  53.     >libm.rf $?
  54.     ar rc libm.a @libm.rf
  55.  
  56. depend:
  57.     depend $(CFLAGS) -u -I/usr/include
  58.