Advertisement
Guest User

Untitled

a guest
Apr 13th, 2013
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.35 KB | None | 0 0
  1. CFLAGS = /nologo /W3 /DDLL_IMPORTS
  2.  
  3. mpirun.exe: mpirun.obj sompi.lib
  4.     link /nologo /out:$@ mpirun.obj
  5.  
  6. sompi.lib: sompi.dll
  7.  
  8. sompi.dll: mpi.obj
  9.     link /nologo /dll /out:sompi.dll /implib:sompi.lib mpi.obj
  10.  
  11. mpi.obj: mpi.c
  12.     cl $(CFLAGS) /c mpi.c
  13.  
  14. mpirun.obj : mpirun.c
  15.     cl $(CFLAGS) /c mpirun.c
  16.  
  17. clean:
  18.     del *.obj mpirun.exe sompi.lib sompi.dll
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement