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