home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / emxtutor.zip / emxsrcd1.zip / emx / src / emxdoc / makefile < prev    next >
Makefile  |  1998-12-19  |  2KB  |  62 lines

  1. #
  2. # /emx/src/emxdoc/makefile
  3. #
  4. # Copyright (c) 1993-1998 by Eberhard Mattes
  5. #
  6. # This file is part of emxdoc.
  7. #
  8. # emxdoc is free software; you can redistribute it and/or modify it
  9. # under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation; either version 2, or (at your option)
  11. # any later version.
  12. #
  13. # emxdoc is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with emxdoc; see the file COPYING.  If not, write to the
  20. # Free Software Foundation, 59 Temple Place - Suite 330,
  21. # Boston, MA 02111-1307, USA.
  22. #
  23.  
  24. .SUFFIXES: .c .o
  25.  
  26. BIN=d:\emx\bin\ #
  27.  
  28. CC=gcc
  29. CFLAGS=-O -Wall
  30. LFLAGS=-s -Zsmall-conv
  31. #CFLAGS=-g -Wall
  32. #LFLAGS=-g
  33.  
  34. .c.o:
  35.     $(CC) $(CFLAGS) -c $<
  36.  
  37. default:    all
  38. all:        emxdoc
  39. emxdoc:        $(BIN)emxdoc.exe
  40.  
  41. emxdoc.o: emxdoc.c emxdoc.h ipf.h latex.h text.h xref.h cond.h
  42. input.o:  input.c emxdoc.h cond.h
  43. cond.o:   cond.c emxdoc.h cond.h
  44. ipf.o:    ipf.c emxdoc.h ipf.h xref.h
  45. latex.o:  latex.c emxdoc.h latex.h
  46. text.o:   text.c emxdoc.h lb.h text.h
  47. xref.o:   xref.c emxdoc.h xref.h
  48. lb.o:    lb.c lb.h
  49.  
  50. $(BIN)emxdoc.exe: emxdoc.o input.o cond.o ipf.o latex.o text.o xref.o lb.o
  51.     gcc $(LFLAGS) -o $(BIN)emxdoc.exe emxdoc.o input.o cond.o \
  52.         ipf.o latex.o text.o xref.o lb.o
  53.  
  54.  
  55. clean:
  56.     -del *.o
  57.  
  58. realclean: clean
  59.     -del $(BIN)emxdoc.exe
  60.  
  61. # End of /emx/src/emxdoc/makefile
  62.