home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / MATH / VISSIM.ZIP / VSOLVER.MAK < prev    next >
Makefile  |  1993-11-30  |  809b  |  43 lines

  1. # VSDK UNIX style MAKEFILE for demo C and Fortran blocks
  2. # use with Microsoft "nmake" or "nmk" 
  3.  
  4. # Model specifier
  5. MODEL=L
  6.  
  7. # Put your Fortran object files here seperated by a space
  8. # Note: must include the .obj
  9. FOBJS=vsolver.obj
  10. # Following flag is for win 3.1 rc to give win 3.0 compatibility
  11. RCFLAGS=-30
  12.  
  13. # Windows Resource compiler
  14. RC=rc -t $(RCFLAGS)
  15.  
  16. LIBENTRY=libentry
  17.  
  18. CODEVIEW=/co
  19. LFLAGS=/AL:16/nod$(CODEVIEW)
  20. DEBFLAG=-Zi
  21. CFLAGS= $(DEBFLAG) -A$(MODEL) -Gsw -Zp -Aw 
  22. FFLAGS= $(DEBFLAG) -A$(MODEL) -Gw -Aw
  23.  
  24. .SUFFIXES:      .for
  25.  
  26. .for.obj:
  27.     fl -c $(FFLAGS) $*.for
  28.  
  29. .c.obj:
  30.      cl -c $(CFLAGS) $*.c
  31.  
  32. it:   vsolver.dll 
  33.  
  34. #  Requires Microsoft FORTRAN 5.1 or better
  35. vsolver.dll: $(FOBJS)
  36.       link @<<
  37. $(LFLAGS) $(FOBJS)
  38. $*.DLL
  39. ,
  40. impsim $(MODEL)dllfew
  41. $*.def
  42. <<    
  43.