home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / GNU / FIND12AS.ZIP / LIB / MAKEFILE < prev    next >
Encoding:
Text File  |  1990-05-21  |  604 b   |  27 lines

  1. # Makefile for GNU fast-find subprograms.
  2. # Do not use this makefile directly, but only from `../Makefile'.
  3.  
  4. LIBPROGS = updatedb bigram code
  5.  
  6. .PHONY: all
  7. all: $(LIBPROGS)
  8.  
  9. .PHONY: install
  10. install: all
  11.     -install -d $(LIBDIR)
  12.     install $(LIBPROGS) $(LIBDIR)
  13.  
  14. updatedb: updatedb.sh
  15.     sed -e "s,XLIBDIR,$(LIBDIR)," -e "s,XFCODES,$(FCODES)," \
  16.     -e "s,XBINDIR,$(BINDIR)," updatedb.sh > updatedb
  17.  
  18. bigram: bigram.c
  19.     $(CC) $(LDFLAGS) $(CFLAGS) -o $@ bigram.c
  20.  
  21. code: code.c
  22.     $(CC) $(LDFLAGS) $(CFLAGS) -o $@ code.c
  23.  
  24. .PHONY: clean
  25. clean:
  26.     rm -f bigram code updatedb *.o core a.out tags TAGS
  27.