]> rtime.felk.cvut.cz Git - orte.git/blob - orte/examples/multicast/msvc/Makefile
24f6f17502c8dac10f80a1b59aa571b9518f0a9f
[orte.git] / orte / examples / multicast / msvc / Makefile
1 # ---------------------------------------------------------------------
2 # Makefile for the Ocera Real-Time Ethernet
3 # ---------------------------------------------------------------------
4
5 LIBS=       kernel32.lib \
6             ws2_32.lib \
7             ..\..\..\contrib\win_pthread\pthreadVC.lib \
8             ..\..\..\liborte\msvc\libortesd.lib
9
10 CFLAGS = -c -Od -ZI -MDd -I..\..\..\include -I..\..\..\include\win32
11
12 CC =        cl
13 LINK =      link
14
15 TARGETS = m_subscriber.exe
16
17 all : default
18
19 default : $(TARGETS)
20
21 m_subscriber.exe: m_subscriber.obj
22
23 # ---------------------------------------------------------------------
24 # Generic Compilation Rules
25 #
26 # Do NOT change anything below this point.
27 # ---------------------------------------------------------------------
28 #.SUFFIXES: .c .obj .exe
29
30 {..\}.c{}.obj:
31     $(CC) $(CFLAGS) $< -Fo$*.obj        
32     
33 .obj.exe:
34     $(LINK) -DEBUG -out:$@ $< $(LIBS)
35
36 clean :
37     if exist *.obj del *.obj
38     if exist *.exe del *.exe
39     if exist *.pdb del *.pdb
40     if exist *.ilk del *.ilk
41     if exist *.idb del *.idb