home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / in4wjcxu / other / irc / common / makefile < prev    next >
Encoding:
Makefile  |  1996-08-14  |  2.4 KB  |  70 lines

  1. #************************************************************************
  2. #*   IRC - Internet Relay Chat, common/Makefile
  3. #*   Copyright (C) 1990 Jarkko Oikarinen
  4. #*
  5. #*   This program is free software; you can redistribute it and/or modify
  6. #*   it under the terms of the GNU General Public License as published by
  7. #*   the Free Software Foundation; either version 1, or (at your option)
  8. #*   any later version.
  9. #*
  10. #*   This program is distributed in the hope that it will be useful,
  11. #*   but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. #*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. #*   GNU General Public License for more details.
  14. #*
  15. #*   You should have received a copy of the GNU General Public License
  16. #*   along with this program; if not, write to the Free Software
  17. #*   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. #*/
  19.  
  20. CC=cc
  21. RM=/bin/rm
  22. INCLUDE=../include
  23.  
  24. # For MIPS, use:
  25. # CFLAGS=-O -systype bsd43 -I${INCLUDE}
  26. # and otherwise:
  27. CFLAGS=-gx -I${INCLUDE}
  28.  
  29.  
  30. OBJS=bsd.o dbuf.o packet.o send.o match.o parse.o support.o inet_addr.o
  31.  
  32. SRC=bsd.c dbuf.c packet.c parse.c send.c match.c support.c inet_addr.c
  33.  
  34. tm: tm.o manew.o tab.o
  35.     $(CC) -g tab.o tm.o manew.o -o tm
  36. tm1: tm.o ma2.o tab.o
  37.     $(CC) -g tab.o tm.o ma2.o -o tm1
  38. tmo: tm.o match.o tab.o
  39.     $(CC) -g tm.o match.o -o tmo
  40.  
  41. all: build
  42.  
  43. build: $(OBJS)
  44.  
  45. install:
  46.  
  47. clean:
  48.     ${RM} -f *.o *~ core #* *.bak
  49.  
  50. depend:
  51.     makedepend -I${INCLUDE} ${SRC}
  52.  
  53. # DO NOT DELETE THIS LINE -- make depend depends on it.
  54.  
  55. bsd.o: bsd.c ../include/common.h ../include/sys.h ../include/config.h
  56. dbuf.o: ../include/config.h ../include/common.h ../include/dbuf.h
  57. dbuf.o: ../include/sys.h dbuf.c
  58. packet.o: ../include/struct.h ../include/config.h ../include/class.h
  59. packet.o: ../include/dbuf.h ../include/common.h ../include/msg.h packet.c
  60. parse.o: ../include/struct.h ../include/config.h
  61. parse.o: ../include/class.h ../include/dbuf.h ../include/common.h
  62. parse.o: ../include/msg.h ../include/sys.h
  63. parse.o: ../include/numeric.h parse.c
  64. send.o: ../include/struct.h ../include/config.h ../include/class.h
  65. send.o: ../include/dbuf.h ../include/common.h send.c
  66. match.o: ../include/config.h ../include/common.h ../include/sys.h match.c
  67. manew.o: ../include/config.h ../include/common.h ../include/sys.h manew.c
  68. support.o: ../include/config.h ../include/common.h ../include/sys.h support.c
  69. inet_addr.o: ../include/sys.h inet_addr.c ../include/common.h
  70.