home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume10 / complex-lib / Makefile < prev   
Makefile  |  1987-07-14  |  395b  |  18 lines

  1. ALL=complex.3 complex.h libcomplex.a
  2. OBJS=\
  3.     cxadd.o cxampl.o cxconj.o cxcons.o cxcopy.o cxdiv.o cxmul.o \
  4.     cxphas.o cxphsr.o cxscal.o cxsqrt.o cxsub.o
  5.  
  6. all:    $(ALL)
  7.  
  8. install:    $(ALL)
  9.     @echo install $(ALL) according to local convention.
  10.  
  11. cx_test:    cx_test.c libcomplex.a
  12.     $(CC) $(CFLAGS) -o cx_test cx_test.c libcomplex.a
  13.  
  14. libcomplex.a:    $(OBJS)
  15.     ar r libcomplex.a $(OBJS)
  16.  
  17. $(OBJS):    complex.h
  18.