Skip to content
Snippets Groups Projects
Commit f12b3118 authored by deuce's avatar deuce
Browse files

Add MTOBJODIR and implcicit rules for MT objects

parent 93a28e1e
No related branches found
No related tags found
No related merge requests found
...@@ -165,8 +165,9 @@ BUILDPATH = debug ...@@ -165,8 +165,9 @@ BUILDPATH = debug
BUILDPATH = release BUILDPATH = release
!endif !endif
OBJODIR = $(CCPRE).win32.obj.$(BUILDPATH)
MTOBJODIR = $(CCPRE).win32.obj.$(BUILDPATH)-mt
LIBODIR = $(CCPRE).win32.lib.$(BUILDPATH) LIBODIR = $(CCPRE).win32.lib.$(BUILDPATH)
OBJODIR = $(CCPRE).win32.obj.$(BUILDPATH)$(OBJPATH_SUFFIX)
EXEODIR = $(CCPRE).win32.exe.$(BUILDPATH) EXEODIR = $(CCPRE).win32.exe.$(BUILDPATH)
# Paths # Paths
...@@ -189,9 +190,17 @@ UIFC_SRC = $(SRC_ROOT)$(DIRSEP)uifc ...@@ -189,9 +190,17 @@ UIFC_SRC = $(SRC_ROOT)$(DIRSEP)uifc
#!include libobjs.mk # defines $(LIB_OBJS) #!include libobjs.mk # defines $(LIB_OBJS)
# Implicit C Compile Rule # Implicit C Compile Rule
{.}.c$(OFILE): {.}.c${OBJODIR}$(OFILE):
@$(CC) $(CFLAGS) $(CCFLAGS) -c $< $(OUTPUT)$@ @$(CC) $(CFLAGS) $(CCFLAGS) -c $< $(OUTPUT)$@
# Implicit C++ Compile Rule # Implicit C++ Compile Rule
{.}.cpp$(OFILE): {.}.cpp{OBJODIR}$(OFILE):
@$(CC) $(CFLAGS) $(CXXFLAGS) -c $< $(OUTPUT)$@ @$(CC) $(CFLAGS) $(CXXFLAGS) -c $< $(OUTPUT)$@
# Implicit MT C Compile Rule
{.}.c{MTOBJODIR}$(OFILE):
@$(CC) $(CFLAGS) $(CCFLAGS) $(PTHREAD_CFLAGS) -c $< $(OUTPUT)$@
# Implicit MT C++ Compile Rule
{.}.cpp{MTOBJODIR}$(OFILE):
@$(CC) $(CFLAGS) $(CXXFLAGS) $(PTHREAD_CFLAGS) -c $< $(OUTPUT)$@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment