# Microsoft Developer Studio Generated NMAKE File, Based on wcx.dsp
!IF "$(CFG)" == ""
CFG=debug
!ENDIF 

!IF "$(CFG)" != "release" && "$(CFG)" != "debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE 
!MESSAGE NMAKE /f "wcx.mak" CFG="debug"
!MESSAGE 
!MESSAGE Possible choices for configuration are:
!MESSAGE 
!MESSAGE "release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE 
!ERROR An invalid configuration is specified.
!ENDIF 

CPP=@cl.exe

RC=@rc.exe
RCFLAGS=/nologo

LINK=@link.exe
LINK_FLAGS=kernel32.lib user32.lib /opt:nowin98 /noentry /nodefaultlib /nologo

!IF  "$(CFG)" == "release"
CPPFLAGS=/W4 /O1 /Zp2 /LD /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /nologo /GD
!ELSE
CPPFLAGS=/W4 /O1 /Zp2 /LD /Gs10000 /D "WIN32" /D "DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /nologo /GD
!ENDIF

ALL : wcx.fmt wcx.dll

CLEAN :
	-@erase "resource.res"
	-@erase "StdAfx.obj"
	-@erase "StdAfx.sbr"
	-@erase "vc60.idb"
	-@erase "vc60.pdb"
	-@erase "wcx.obj"
	-@erase "wcx_conf.obj"
	-@erase "wcx.pch"
	-@erase "wcx.sbr"
	-@erase "wcx.bsc"
	-@erase "wcx.exp"
	-@erase "wcx_conf.exp"
	-@erase "wcx.fmt"
	-@erase "wcx_conf.lib"
	-@erase "wcx.lib"
	-@erase "wcx.dll"
	-@erase "wcx_conf.dll"


resource.res: resource.rc makefile

wcx.obj: wcx.cpp wcx.h makefile

wcx_conf.obj: wcx_conf.cpp wcx.h makefile

wcx.fmt: wcx.obj resource.res wcx.def
	$(LINK) $(LINK_FLAGS) /dll /entry:DllMain /def:wcx.def /out:wcx.fmt /implib:wcx.lib wcx.obj resource.res
	-@copy $@ "C:\Program Files\Far_B5\Plugins\MultiArc\Formats"

wcx.dll: wcx_conf.obj resource.res wcx_conf.def
	$(LINK) $(LINK_FLAGS) /dll /entry:DllMain /def:wcx_conf.def /out:wcx.dll /implib:wcx_conf.lib wcx_conf.obj resource.res
	-@copy $@ "C:\Program Files\Far_B5\Plugins\MultiArc\Formats"

	

