home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / lsqrft15.zip / makefile < prev    next >
Makefile  |  1993-10-30  |  994b  |  45 lines

  1. cc = gcc
  2. cflags=-c -O2 -DOS2 -m486
  3.  
  4. fit2.exe:fit2.o mrqfit2.o funclib2.o fitutil2.o fitcmds2.o solve_da.o plot.o linear2.o
  5.     $(cc) fit2.o mrqfit2.o funclib2.o fitutil2.o fitcmds2.o solve_da.o plot.o linear2.o -lm -o fit2.exe
  6.  
  7. .c.o:
  8.     $(cc) $(cflags) $<
  9.  
  10. mrqfit2.o:mrqfit2.c fit.h
  11.     $(cc) $(cflags) mrqfit2.c
  12.  
  13. fitcmds2.o:fitcmds2.c fit.h
  14.     $(cc) $(cflags) fitcmds2.c
  15.  
  16. fitutil2.o:fitutil2.c fit.h
  17.     $(cc) $(cflags) fitutil2.c
  18.  
  19. solve_da.o:solve_da.c fit.h
  20.     $(cc) $(cflags) solve_da.c
  21.  
  22. linear2.o:linear2.c fit.h
  23.     $(cc) $(cflags) linear2.c
  24.  
  25. plot.o:plot.c fit.h
  26.     $(cc) $(cflags) plot.c
  27.  
  28. fit2.o:fit2.c fit.h
  29.     $(cc) $(cflags) fit2.c
  30.  
  31.  
  32. fitplot.exe: fitplot.ex fitplot.res
  33.     rc fitplot.res fitplot.ex
  34.     copy fitplot.ex fitplot.exe
  35.  
  36. fitplot.res:  fitplot.rc  fitplot.h  fitplot.h
  37.     rc -r fitplot.rc
  38.   
  39. fitplot.ex:  fitplot.c fitplot.h
  40.     icc /B/A:16 /B/NOI /B/PM:PM /Fefitplot.ex /O /G4 /Gf /Gi /Gm /Gd- /Tl30 /Fi /Si fitplot.c
  41.  
  42. fp.exe: fp.c
  43.     gcc fp.c -lm -O2 -o fp.exe
  44.  
  45.