home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / djgpp / libsrc / bison / makefile < prev    next >
Encoding:
Makefile  |  1991-03-10  |  907 b   |  39 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.     main.o \
  25.     yyerror.o \
  26.     yylex.o
  27.  
  28. ../../lib/libbison.a : libbison.a
  29.     cp libbison.a ../../lib
  30.     ar s ../../lib/libbison.a
  31.  
  32. libbison.a : $(O)
  33.     ar rc libbison.a <@<
  34. $?
  35. <
  36.  
  37. depend:
  38.     depend $(CFLAGS) -u -I/usr/include
  39.