3 # Midnight Commander for Win32 makefile
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 # --------------------------------------------------------------------------
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!
19 # Just comment RSC out if you have problems with resources
27 # ---- Compiler-specific optional stuff
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
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)
52 MC_EXE=$(OBJS_DIR)/mc.exe
54 # ---- Compiler independent defines
57 # ---- Linkers are usualy compiler-specific
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)