mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
068a37b1cd
Support latest MinGW releases. Support building on linux. svn path=/trunk/; revision=3454
30 lines
651 B
Makefile
30 lines
651 B
Makefile
include ../rules.mak
|
|
|
|
TARGET_OS=NT
|
|
|
|
#CC=gcc
|
|
LINK=$(CC) -lmsvcrt
|
|
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)
|