home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / news / cnews.tar / libnov / makefile < prev    next >
Makefile  |  1992-12-16  |  228b  |  16 lines

  1. DEFINES=-I../include
  2. # -g
  3. CFLAGS=$(DEFINES) -O
  4. LINTFLAGS=-ha $(DEFINES)
  5.  
  6. all: libnov.a
  7.  
  8. libnov.a: lib.c
  9.     $(CC) $(CFLAGS) -c lib.c && mv lib.o $@
  10.  
  11. lint: lib.c
  12.     lint $(LINTFLAGS) -u lib.c
  13.  
  14. clean:
  15.     rm -f gmon.out a.out core *.[oa]
  16.