2002-09-03 18:44:19 +00:00
|
|
|
include ../rules.mak
|
|
|
|
|
2001-12-30 10:02:14 +00:00
|
|
|
TARGET_OS=NT
|
|
|
|
|
2002-09-03 18:44:19 +00:00
|
|
|
#CC=gcc
|
|
|
|
LINK=$(CC) -lmsvcrt
|
2001-12-30 10:02:14 +00:00
|
|
|
OBJ_SUFFIX=o
|
|
|
|
OBJ_PLACE=-o
|
|
|
|
EXE_PLACE=-o
|
|
|
|
|
|
|
|
# ---- Compiler-specific optional stuff
|
|
|
|
MC_MISC_CFLAGS=
|
|
|
|
OBJS_DIR=release
|
|
|
|
EXTRA_MC_SRCS=
|
|
|
|
SPECIFIC_DEFINES=
|
|
|
|
SPECIFIC_MC_CFLAGS=-O2 $(MC_MISC_CFLAGS)
|
|
|
|
SPECIFIC_MC_LFLAGS_EXTRA=
|
|
|
|
SPECIFIC_SLANG_CFLAGS=$(SPECIFIC_MC_CFLAGS)
|
|
|
|
SPECIFIC_MCEDIT_CFLAGS=$(SPECIFIC_MC_CFLAGS)
|
|
|
|
|
|
|
|
# ---- Compiler independent defines
|
|
|
|
include Makefile.PC
|
|
|
|
|
|
|
|
# ---- Linkers are very compiler-specific
|
|
|
|
|
|
|
|
SPECIFIC_MC_LFLAGS=$(SPECIFIC_MC_LFLAGS_EXTRA)
|
|
|
|
MC_LIBS= # -lintl
|
|
|
|
|
|
|
|
$(MC_EXE): $(OBJS) $(MCEDIT_OBJS) $(SLANG_OBJS)
|
|
|
|
$(LINK) $(EXE_PLACE) $(MC_EXE) $(SPECIFIC_MC_LFLAGS) $+ $(MC_LIBS)
|