Remove trailing whitespace (see #556)
[xapian.git] / xapian-maintainer-tools / win32msvc / win32_languages_compiler.mak
blob30e185b7ed6a95d6d0b98dce310e60609ec1bd88
1 # Makefile for Microsoft Visual C++ 7.0 (or compatible)
2 # Charlie Hull, Lemur Consulting Ltd.
3 # www.lemurconsulting.com
4 # 19th February 2006
6 # Will build a Win32 executable snowball.exe
8 !INCLUDE ..\..\win32\config.mak
10 OUTDIR =..\compiler
11 INTDIR=..\compiler
13 ALL : "$(OUTDIR)\snowball.exe"
15 OBJS= "$(INTDIR)\analyser.obj" \
16 "$(INTDIR)\generator.obj" \
17 "$(INTDIR)\driver.obj" \
18 "$(INTDIR)\space.obj" \
19 "$(INTDIR)\tokeniser.obj"
21 SRCS= "$(INTDIR)\analyser.c" \
22 "$(INTDIR)\generator.c" \
23 "$(INTDIR)\driver.c" \
24 "$(INTDIR)\space.c" \
25 "$(INTDIR)\tokeniser.c"
27 CLEAN :
28 -@erase "$(INTDIR)\*.pch"
29 -@erase $(OBJS)
30 -@erase "$(INTDIR)\*.pdb"
31 -@erase "$(OUTDIR)\*.exe"
34 CPP_PROJ=$(CPPFLAGS_EXTRA) \
35 -D "DISABLE_JAVA" \
36 -I ".." -I "..\compiler" \
37 -Fo"$(INTDIR)\\" -Fd"$(INTDIR)\\" -Tc"$(INPUTNAME)"
38 CPP_OBJS=..\compiler
39 CPP_SBRS=.
42 "$(OUTDIR)\snowball.exe" : "$(OUTDIR)" $(DEF_FILE) $(OBJS)
43 $(LINK32) @<<
44 $(LINK32_FLAGS) /out:"$(OUTDIR)\snowball.exe" $(DEF_FLAGS) $(OBJS)
47 # inference rules, showing how to create one type of file from another with the same root name
48 .c{$(CPP_OBJS)}.obj::
49 $(CPP) @<<
50 $(CPP_PROJ) $<
53 .cpp{$(CPP_OBJS)}.obj::
54 $(CPP) @<<
55 $(CPP_PROJ) $<
58 .cxx{$(CPP_OBJS)}.obj::
59 $(CPP) @<<
60 $(CPP_PROJ) $<
63 .c{$(CPP_SBRS)}.sbr::
64 $(CPP) @<<
65 $(CPP_PROJ) $<
68 .cpp{$(CPP_SBRS)}.sbr::
69 $(CPP) @<<
70 $(CPP_PROJ) $<
73 .cxx{$(CPP_SBRS)}.sbr::
74 $(CPP) @<<
75 $(CPP_PROJ) $<
78 # Calculate any header dependencies and automatically insert them into this file
79 HEADERS :
80 -@erase deps.d
81 $(CPP) -showIncludes $(CPP_PROJ) $(SRCS) >>deps.d
82 if exist "..\..\win32\$(DEPEND)" ..\..\win32\$(DEPEND)
83 # DO NOT DELETE THIS LINE -- xapdep depends on it.