]> rtime.felk.cvut.cz Git - orte.git/blob - orte/examples/ping/msvc/Makefile
improved JAVA interface from Lukas, update makefiles from msvc from Jan
[orte.git] / orte / examples / ping / 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 = orteping.exe
16
17 all : default
18
19 default : $(TARGETS)
20
21 orteping.exe: orteping.obj getopt.obj getopt_long.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 {..\}.c{}.obj:
34     $(CC) $(CFLAGS) $< -Fo$*.obj        
35     
36 .obj.exe:
37     $(LINK) -DEBUG -out:$@ $** $(LIBS)
38         
39 clean :
40     if exist *.obj del *.obj
41     if exist *.exe del *.exe
42     if exist *.pdb del *.pdb
43     if exist *.ilk del *.ilk
44     if exist *.idb del *.idb
45
46