mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
597 B
26 lines
597 B
# Rules for compiling .cfgs from .xmls
|
|
.SUFFIXES: .cfg .h .xml
|
|
|
|
{..\}.xml{$(O)}.cfg:
|
|
copy $** $(O)
|
|
$(_TPG_ROOT)\Tools\gc.exe -h $*.h $*.xml
|
|
|
|
# Automatic Registration
|
|
!if defined(MAKEDLL) && defined(AUTOREG)
|
|
$(TARGETNAME).cpy: $(O)\$(TARGETNAME).dll
|
|
regsvr32 /s $** > $@
|
|
!else
|
|
$(TARGETNAME).cpy:
|
|
echo File not registered: $** > $@
|
|
!endif
|
|
|
|
!if $(FREEBUILD)
|
|
HWXBIN=$(_TPG_ROOT)\hwx\release
|
|
!else
|
|
HWXBIN=$(_TPG_ROOT)\hwx\debug
|
|
!endif
|
|
|
|
hwxbin: $(O)\$(TARGETNAME).$(TARGETEXT)
|
|
mkdir $(HWXBIN)
|
|
copy $(O)\$(TARGETNAME).$(TARGETEXT) $(HWXBIN)
|
|
copy $(O)\$(TARGETNAME).pdb $(HWXBIN)
|