mirror of
https://github.com/microsoft/Microsoft-3D-Movie-Maker.git
synced 2024-11-24 19:32:32 +01:00
131 lines
3.0 KiB
Plaintext
131 lines
3.0 KiB
Plaintext
|
# Use this file to automatically declare rules for a group of targets.
|
||
|
# Set the "SRC_DIR" variable to the appropriate directory, set OBJ_DIR
|
||
|
# to the appropriate target directory and then include this file.
|
||
|
|
||
|
# If the "LOCAL_BUILD" variable is defined and set to "1", this indicates that
|
||
|
# we're already cd'd to the target directory. This allows nmake to use a much
|
||
|
# simpler set of make rules.
|
||
|
|
||
|
#-Compile rules-------------------------------------------------------------
|
||
|
|
||
|
|
||
|
!IF "$(LOCAL_BUILD)" != "1"
|
||
|
|
||
|
!IF "$(LOCAL_BUILD)" != "0"
|
||
|
|
||
|
{$(SRC_DIR)}.cpp.obj:
|
||
|
@nmake /NOLOGO $(OBJ_DIR)\%|fF.obj
|
||
|
|
||
|
{$(SRC_DIR)}.cpp.exe:
|
||
|
@nmake /NOLOGO $(OBJ_DIR)\%|fF.exe
|
||
|
|
||
|
{$(SRC_DIR)}.asm.obj:
|
||
|
@nmake /NOLOGO $(OBJ_DIR)\%|fF.obj
|
||
|
|
||
|
{$(SRC_DIR)}.rc.res:
|
||
|
@nmake /NOLOGO $(OBJ_DIR)\%|fF.res
|
||
|
|
||
|
{$(SRC_DIR)}.cht.chk:
|
||
|
@nmake /NOLOGO $(OBJ_DIR)\%|fF.chk
|
||
|
|
||
|
{$(SRC_DIR)}.cht.thd:
|
||
|
@nmake /NOLOGO $(OBJ_DIR)\%|fF.chk
|
||
|
|
||
|
{$(SRC_DIR)}.cpp.i:
|
||
|
@nmake /NOLOGO $(OBJ_DIR)\%|fF.i
|
||
|
|
||
|
{$(SRC_DIR)}.cpp.cod:
|
||
|
@nmake /NOLOGO $(OBJ_DIR)\%|fF.cod
|
||
|
|
||
|
!ENDIF # LOCAL_BUILD != 0
|
||
|
|
||
|
|
||
|
{$(SRC_DIR)}.cpp{$(OBJ_DIR)}.obj:
|
||
|
!@echo Compiling $(TGT_NAME) Src... $<
|
||
|
$(CPP) $(CPPFLAGS) /Zi /Fd$(SOC_OBJ_DIR)\soc.pdb /Fp$(SOC_OBJ_DIR)\soc.pch /Fo$@ $(DEFS) $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
|
||
|
{$(SRC_DIR)}.c{$(OBJ_DIR)}.obj:
|
||
|
!@echo Compiling $(TGT_NAME) Src... $<
|
||
|
$(CPP) $(CPPFLAGS) /Zi /Fd$(SOC_OBJ_DIR)\soc.pdb /Fp$(SOC_OBJ_DIR)\soc.pch /Fo$@ $(DEFS) $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
|
||
|
{$(SRC_DIR)}.asm{$(OBJ_DIR)}.obj:
|
||
|
!@echo Compiling $(TGT_NAME) Assembly Src... $<
|
||
|
$(ASM) $(ASMFLAGS) /Fo$@ $(DEFS) $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
|
||
|
{$(SRC_DIR)}.rc{$(OBJ_DIR)}.res:
|
||
|
!@echo Compiling $(TGT_NAME) Resource... $<
|
||
|
$(RC) $(DEFS) /Fo$@ $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
|
||
|
{$(SRC_DIR)}.cht{$(OBJ_DIR)}.chk:
|
||
|
cl /E -I%|pF -I$(@D) $(DEFS) /Tp$< > $*.i
|
||
|
$(CHKERR)
|
||
|
$(CHOMP) $*.i $@
|
||
|
$(CHKERR)
|
||
|
|
||
|
{$(SRC_DIR)}.cht{$(OBJ_DIR)}.thd:
|
||
|
cl /E -I%|pF -I$(@D) $(DEFS) /Tp$< > $*.i
|
||
|
$(CHKERR)
|
||
|
$(CHOMP) $*.i $@
|
||
|
$(CHKERR)
|
||
|
|
||
|
{$(SRC_DIR)}.cpp{$(OBJ_DIR)}.i:
|
||
|
!@echo Compiling $(TGT_NAME) Src... $<
|
||
|
$(CPP) /E $(DEFS) $< > $@
|
||
|
$(CHKERR)
|
||
|
|
||
|
|
||
|
{$(SRC_DIR)}.cpp{$(OBJ_DIR)}.cod:
|
||
|
!@echo Compiling $(TGT_NAME) Src... $<
|
||
|
$(CPP) /FAcs $(CPPFLAGS) /Zi /Fd$(SOC_OBJ_DIR)\soc.pdb /Fp$(SOC_OBJ_DIR)\soc.pch $(DEFS) /Fa$@ $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
|
||
|
!ELSE # !LOCAL_BUILD
|
||
|
|
||
|
|
||
|
{$(SRC_DIR)}.cpp.obj:
|
||
|
$(CPP) $(CPPFLAGS) /Zi /Fdsoc.pdb /Fpsoc.pch $(DEFS) $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
{$(SRC_DIR)}.c.obj:
|
||
|
$(CPP) $(CPPFLAGS) /Zi /Fdsoc.pdb /Fpsoc.pch $(DEFS) $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
{$(SRC_DIR)}.asm.obj:
|
||
|
$(ASM) $(ASMFLAGS) /Fo$@ $(DEFS) $<
|
||
|
|
||
|
{$(SRC_DIR)}.rc.res:
|
||
|
$(RC) $(DEFS) /Fo$@ $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
{$(SRC_DIR)}.cht.chk:
|
||
|
cl /P -I%|pF -I. $(DEFS) /Tp$<
|
||
|
$(CHKERR)
|
||
|
$(CHOMP) $(@B).i $@
|
||
|
$(CHKERR)
|
||
|
|
||
|
{$(SRC_DIR)}.cht.thd:
|
||
|
cl /P -I%|pF -I. $(DEFS) /Tp$<
|
||
|
$(CHKERR)
|
||
|
$(CHOMP) $(@B).i $@
|
||
|
$(CHKERR)
|
||
|
|
||
|
{$(SRC_DIR)}.cpp.i:
|
||
|
$(CPP) /P $(DEFS) $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
{$(SRC_DIR)}.cpp.cod:
|
||
|
$(CPP) /FAcs $(CPPFLAGS) /Zi /Fdsoc.pdb /Fpsoc.pch $(DEFS) /Fa$@ $<
|
||
|
$(CHKERR)
|
||
|
|
||
|
|
||
|
!ENDIF # LOCAL_BUILD
|