mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
29 lines
620 B
Makefile
29 lines
620 B
Makefile
|
TARGET_OS=NT
|
||
|
|
||
|
CC=gcc
|
||
|
LINK=gcc -s
|
||
|
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)
|