home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff391.lzh / ListPlot / Csrc / makefile < prev    next >
Makefile  |  1990-10-27  |  744b  |  34 lines

  1.  
  2. H=/Csrc
  3. CFLAGS=-ff -i$(H) $(OTHERDEFS)
  4. CSRC=Csrc
  5. PLPLOT=lib:plpffp.lib
  6.  
  7. TARGET= ListPlot
  8.  
  9. OBJECTS= \
  10.   $(CSRC)/get_args.o\
  11.   $(CSRC)/input.o\
  12.   $(CSRC)/plotting.o
  13.  
  14.  
  15. all:    $(OBJECTS) $(TARGET)
  16.  
  17. clean:
  18.     delete #?.o
  19.  
  20. $(CSRC)/get_args.o: $(CSRC)/get_args.c $(CSRC)/datatypes.h
  21.     $(CC) $(CFLAGS) $(CSRC)/get_args.c
  22.  
  23. $(CSRC)/input.o: $(CSRC)/input.c $(CSRC)/datatypes.h
  24.     $(CC) $(CFLAGS) $(CSRC)/input.c
  25.  
  26. $(CSRC)/ListPlot.o: $(CSRC)/ListPlot.c $(CSRC)/datatypes.h
  27.     $(CC) $(CFLAGS) $(CSRC)/ListPlot.c
  28.  
  29. $(CSRC)/plotting.o: $(CSRC)/plotting.c $(CSRC)/datatypes.h
  30.     $(CC) $(CFLAGS) -dMAX_FLOAT=9.e18 $(CSRC)/plotting.c
  31.  
  32. ListPlot: $(CSRC)/ListPlot.o $(OBJECTS)
  33.     blink lib:c.o $(CSRC)/ListPlot.o $(OBJECTS) to ListPlot lib lib:lcmffp.lib lib:lc.lib $(PLPLOT)
  34.