ru.po: Heavily updated translation
[midnight-commander.git] / nt / Makefile.BC5
blobb55ab4252331cf29cb9cf111e3703488fe35313f
1 # Makefile.BC5
3 # Midnight Commander for Win32 makefile
4 # for Borland C++ 5.01
6 # Hacked by Dan Nicolaescu from Visual IDE mak
7 # Hacked by Pavel Roskin to make it work with cmd.exe from Windows NT4
8 # 980206 hacked by Pavel Roskin to make it work with GNU make
9 # 980316 hacked by Pavel Roskin to make it work with Borland C++
10 # --------------------------------------------------------------------------
12 MC_LIBS=
14 # ---- Path (case-sensitive!) is searched for executables
15 #      If the command line contains quotes, it is passed to shell
16 #      Errors are ignored in this case!
17 Path=c:/bc5/bin
18 CC=bcc32.exe
19 #      Just comment RSC out if you have problems with resources
20 # RSC=rc.exe
21 LINK=bcc32.exe
22 OBJ_SUFFIX=obj
23 OBJ_PLACE=-o
24 RES_PLACE=-fo
25 EXE_PLACE=-e
27 # ---- Compiler-specific optional stuff
28 MC_MISC_CFLAGS=
30 ifndef RELEASE
31 # ---- Debug build
32 OBJS_DIR=debug
33 EXTRA_MC_SRCS=util.debug.c
34 SPECIFIC_DEFINES=-DHAVE_TRACE
35 SPECIFIC_MC_CFLAGS=-v -y $(MC_MISC_CFLAGS)
36 SPECIFIC_MC_LFLAGS_EXTRA=-lv
37 SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
38 SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS) -I../edit -I../src
39 RC_DEFINES=-D_DEBUG
40 else
41 # ---- Release build
42 OBJS_DIR=release
43 EXTRA_MC_SRCS=
44 SPECIFIC_DEFINES=
45 SPECIFIC_MC_CFLAGS=$(MC_MISC_CFLAGS)
46 SPECIFIC_MC_LFLAGS_EXTRA=
47 SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
48 SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS) -I../edit -I../src
49 RC_DEFINES=-DRELEASE=$(RELEASE)
50 endif
52 MC_EXE=$(OBJS_DIR)/mc.exe
54 # ---- Compiler independent defines
55 include Makefile.NT
57 # ---- Linkers are usualy compiler-specific
58 SPECIFIC_MC_LFLAGS= \
59         $(SPECIFIC_MC_LFLAGS_EXTRA)
61 $(MC_EXE): $(MC_RES) $(OBJS) $(MCEDIT_OBJS) $(SLANG_OBJS)
62         $(LINK) $(EXE_PLACE)$(MC_EXE) $(SPECIFIC_MC_LFLAGS) $+ $(MC_LIBS)