]> rtime.felk.cvut.cz Git - orte.git/blob - orte/examples/reliable/msvc/makefile.msc
Added prerelease of ORTE-0.2 (Real Time Publisher Subscriber communication protocol...
[orte.git] / orte / examples / reliable / msvc / 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=         d:\Progra~1\micros~2\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=HelloWorldPublisher.exe
21
22 all :   default
23
24 default : $(TARGETS)
25
26 HelloWorldPublisher.exe: ..\HelloWorldPublisher.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:$@ $(ORTELIB) $< $(LIBS)
40
41 clean :
42         del *.obj
43         del *.exe
44         del *.pdb
45
46