home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff319.lzh / CNewsSrc / cnews.orig.lzh / libbig / Makefile < prev    next >
Makefile  |  1989-06-27  |  537b  |  32 lines

  1. # libbig makefile
  2. INCLUDE=../include
  3. DEFINES=-I$(INCLUDE) -I../relay
  4. COPTS= -O # -g -p -pg
  5. CFLAGS= $(COPTS) $(DEFINES)
  6. LINTFLAGS=-hau $(DEFINES)
  7. LIB=libbig.a
  8. # RANLIB is ranlib on non-USG systems, echo on USG systems
  9. RANLIB=ranlib
  10. #RANLIB=:
  11. SRCS=active.fast.c sys.fast.c
  12. OBJS=active.fast.o sys.fast.o
  13. # workaround for System V make bug
  14. SHELL = /bin/sh
  15.  
  16. u:    $(OBJS)
  17.     ar ruv ../libcnews.a $(OBJS)
  18.  
  19. all:    $(OBJS)
  20.  
  21. $(LIB): $(SRCS)
  22.     $(CC) $(CFLAGS) -c $?
  23.     ar rv $@ *.o
  24.     rm *.o
  25.     $(RANLIB) $@
  26.  
  27. lint:
  28.     lint $(LINTFLAGS) $(SRCS)
  29.  
  30. clean:
  31.     rm -f *.o
  32.