home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GERLIB_DEV08B.LHA / gerlib / libg++ / gperf / src / Makefile.in < prev    next >
Encoding:
Makefile  |  1993-12-12  |  1.3 KB  |  38 lines

  1. # Copyright (C) 1989, 1992, 1993 Free Software Foundation, Inc.
  2. # written by Douglas C. Schmidt (schmidt@ics.uci.edu)
  3. # This file is part of GNU GPERF.
  4. # GNU GPERF is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 1, or (at your option)
  7. # any later version.
  8. # GNU GPERF is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with GNU GPERF; see the file COPYING.  If not, write to
  14. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
  15.  
  16. srcdir = .
  17.  
  18. #### package, host, target, and site dependent Makefile fragments come in here.
  19. ##
  20.  
  21. LIBS = ../../libg++.a
  22.  
  23. OBJECTS  = new.o options.o iterator.o main.o gen-perf.o key-list.o list-node.o\
  24.            hash-table.o bool-array.o read-line.o std-err.o version.o 
  25.  
  26. TARGETPROG = gperf
  27.  
  28. $(TARGETPROG): $(OBJECTS) 
  29.     $(CXX) -o $@ $(OBJECTS) $(LIBS)
  30.  
  31. .PHONY: install
  32. install: $(TARGETPROG)
  33.     $(INSTALL_PROGRAM) $(TARGETPROG) $(bindir)/$(TARGETPROG)
  34.