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

  1. #
  2. # Copyright (C) 1991 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  3. #
  4. # This file is distributed under the terms listed in the document
  5. # "copying.dj", available from DJ Delorie at the address above.
  6. # A copy of "copying.dj" should accompany this file; if not, a copy
  7. # should be available from where this file was obtained.  This file
  8. # may not be distributed without a verbatim copy of "copying.dj".
  9. #
  10. # This file is distributed WITHOUT ANY WARRANTY; without even the implied
  11. # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. #
  13.  
  14. CFLAGS = -O
  15.  
  16. .S.o :
  17.     gcc $(CFLAGS) -c $*.S
  18.  
  19. .c.o :
  20.     gcc $(CFLAGS) -c $*.c
  21.  
  22. .cc.o :
  23.     gcc $(CFLAGS) -c $*.cc
  24.  
  25. O =\
  26.     blit.o \
  27.     colors.o \
  28.     getkey.o \
  29.     graphics.o \
  30.     setmode.o \
  31.     int33.o \
  32.     int10.o \
  33.     kbhit.o \
  34.     line.o \
  35.     mouse.o \
  36.     region.o \
  37.     setcolor.o \
  38.     text.o
  39.  
  40. ../../lib/libgr.a : libgr.a
  41.     cp libgr.a ../../lib
  42.     ar s ../../lib/libgr.a
  43.  
  44. libgr.a : $(O)
  45.     >libgr.rf $?
  46.     ar rc libgr.a @libgr.rf
  47.  
  48. depend:
  49.     depend $(CFLAGS) -u -I/gccnew/include
  50.  
  51. # DEPENDENCIES
  52.