home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / INDENTSR.ZIP / MAKEFILE.CS2 < prev    next >
Text File  |  1992-08-27  |  2KB  |  50 lines

  1. # Copyright (c) 1987 Regents of the University of California.
  2. # All rights reserved.
  3. #
  4. # Redistribution and use in source and binary forms are permitted
  5. # provided that the above copyright notice and this paragraph are
  6. # duplicated in all such forms and that any documentation,
  7. # advertising materials, and other materials related to such
  8. # distribution and use acknowledge that the software was developed
  9. # by the University of California, Berkeley.  The name of the
  10. # University may not be used to endorse or promote products derived
  11. # from this software without specific prior written permission.
  12. # THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
  13. # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  14. # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  15. #
  16. #    @(#)Makefile    5.9 (Berkeley) 88/09/15
  17. #
  18. #
  19. # Makefile for OS/2 2.0 by Jon Saxton, February 1992
  20. # Amended for C Set/2 by Jon Saxton, April 1992
  21.  
  22. CFLAGS=    -c -DMAXPATHLEN=256 -G3 -W3 -DANSIC -DMSDOS -dM_I386 -Sm
  23. CC=    icc
  24. LN=    link386
  25. LIBC=
  26. SRCS=    indent.c io.c lexi.c parse.c comment.c args.c
  27. H=    codes.h globals.h proto.h
  28. OBJS=    indent.obj io.obj lexi.obj parse.obj comment.obj args.obj
  29. OBS=    indent+io+lexi+parse+comment+args
  30.  
  31. .c.obj:
  32.     $(CC) $(CFLAGS) $*.c
  33.  
  34. all: indent.exe
  35.  
  36. indent.exe: $(OBJS)
  37.     $(LN) $(OBS),$@,nul,,indent.def
  38.  
  39. indent.obj:    indent.c $H
  40.  
  41. io.obj:        io.c globals.h proto.h
  42.  
  43. lexi.obj:    lexi.c $H
  44.  
  45. parse.obj:    parse.c $H
  46.  
  47. comment.obj:    comment.c globals.h proto.h
  48.  
  49. args.obj:    args.c globals.h proto.h
  50.