home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / djgpp / libsrc / pc / makefile < prev    next >
Encoding:
Makefile  |  1991-03-06  |  1.1 KB  |  55 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.     inportb.o \
  25.     inportl.o \
  26.     inportsb.o \
  27.     inportsl.o \
  28.     inportsw.o \
  29.     inportw.o \
  30.     kbhit.o \
  31.     getkey.o \
  32.     outportb.o \
  33.     outportl.o \
  34.     outprtsb.o \
  35.     outprtsl.o \
  36.     outprtsw.o \
  37.     outportw.o \
  38.     screen.o \
  39.     screen2.o \
  40.     sound.o
  41.  
  42. ../../lib/libpc.a : libpc.a
  43.     cp libpc.a ../../lib
  44.     ar s ../../lib/libpc.a
  45.  
  46. libpc.a : $(O)
  47.     ar rc libpc.a <@<
  48. $?
  49. <
  50.  
  51. depend:
  52.     depend $(CFLAGS) -u -I/usr/include
  53.  
  54. # DEPENDENCIES
  55.