home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / ABCPLOT.ZIP / MAKEFILE < prev    next >
Text File  |  1991-04-02  |  507b  |  25 lines

  1. #   Makefile to build ABCPLOT
  2. #   To be used with OPUS MAKE or MICROSOFT NMAKE
  3.  
  4. MAKE_TMP = $(TMP)
  5.  
  6. OBJECTS = main.obj abcplot.obj
  7.  
  8. .SUFFIXES: .EXE .OBJ .FOR .C
  9.  
  10. #   Inference rules
  11.  
  12. #   To get a ".obj" file from a ".for" file with the same base name,
  13. #   then compile the ".for" file.
  14. .for.obj :
  15.     fl /c /AL /Ox $<
  16.  
  17.  
  18. # To get a ".obj file from a "c" file, just compile.
  19. .c.obj :
  20.     cl /c /AL /Ox $<
  21.  
  22. # Specify the target...
  23. abcplot.exe: $(OBJECTS)
  24.     link /NOE /E $(OBJECTS),abcplot.exe;
  25.