3 # Midnight Commander for OS/2 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 # --------------------------------------------------------------------------
19 # Just comment RSC out if you have problems with resources
23 # ---- Compiler-specific optional stuff
24 MC_MISC_CFLAGS=-D__MT__ -I../src -I../edit
31 SPECIFIC_MC_CFLAGS=-v -y $(MC_MISC_CFLAGS)
32 SPECIFIC_MC_LFLAGS_EXTRA=-lv
33 SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
34 SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS)
41 SPECIFIC_MC_CFLAGS=-O2 $(MC_MISC_CFLAGS)
42 SPECIFIC_MC_LFLAGS_EXTRA=
43 SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
44 SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS)
45 RC_DEFINES=-DRELEASE=$(RELEASE)
48 # ---- Compiler independent defines
51 # ---- Linkers are usualy compiler-specific
54 SPECIFIC_MC_LFLAGS=$(SPECIFIC_MC_LFLAGS_EXTRA)
56 $(MC_EXE): $(MC_RES) $(OBJS) $(MCEDIT_OBJS) $(SLANG_OBJS)
57 $(LINK) $(EXE_PLACE)$(MC_EXE) $(SPECIFIC_MC_LFLAGS) $+ $(MC_LIBS)