]> rtime.felk.cvut.cz Git - orte.git/blob - orte/manager/mcvs/Makefile.msc
version 0.2.2 (mac, solaris patch)
[orte.git] / orte / manager / mcvs / Makefile.msc
1 # ---------------------------------------------------------------------
2 # Microsoft C/C++ Installation Directory
3 #
4 # CHANGE this definition to point to your compiler's installation directory
5 # ---------------------------------------------------------------------
6 MSCDIR=         c:\Progra~1\micros~3\vc98
7
8 CFLAGS = -c -Zi -MD $(INCLUDE)
9 LIB_CFLAGS=     $(CFLAGS) -LD
10 INCLUDE=        -I$(MSCDIR)\include -I..\..\include -I..\..\include\win32
11 LIBS=           $(MSCDIR)\lib\msvcrt.lib $(MSCDIR)\lib\uuid.lib $(MSCDIR)\lib\oldnames.lib \
12             $(MSCDIR)\lib\kernel32.lib $(MSCDIR)\lib\libcd.lib $(MSCDIR)\lib\wsock32.lib \
13             $(MSCDIR)\lib\advapi32.lib $(MSCDIR)\lib\ws2_32.lib\
14             ..\..\contrib\win_pthread\pthreadVC.lib \
15             ..\..\liborte\msvc\liborte.lib
16 CC=                 $(MSCDIR)\bin\cl
17 LINK=           $(MSCDIR)\bin\link
18 LIBRARIAN=      $(MSCDIR)\bin\lib
19
20 TARGETS=ortemanager.exe
21
22 all :   default
23
24 default : $(TARGETS)
25
26 ortemanager.exe: ..\service.obj ..\ortemanager.obj getopt.obj getopt_long.obj
27
28 # ---------------------------------------------------------------------
29 # Generic Compilation Rules
30 #
31 # Do NOT change anything below this point.
32 # ---------------------------------------------------------------------
33 #.SUFFIXES: .c .obj .exe
34
35 .c.obj:
36         $(CC) $(CFLAGS) $< -Fo$*.obj
37
38 .obj.exe:
39         $(LINK) -out:$@ ..\service.obj getopt.obj getopt_long.obj $(ORTELIB) $< $(LIBS)
40
41 clean :
42     del *.obj
43     del *.exe
44     del *.pdb