TARGETNAME=mfoc
TARGETTYPE=PROGRAM
UMTYPE=console
UMENTRY=wmain
NO_SAFESEH = 1
USE_LIBCMT=1
MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
C_DEFINES=-DWIN32 -DW3 -DUNICODE -D_UNICODE

INCLUDES=
TARGETLIBS= $(SDK_LIB_PATH)\kernel32.lib

!IFNDEF MSC_WARNING_LEVEL
MSC_WARNING_LEVEL=/W3
!ENDIF

# Make sure we are building a multi-threaded app
!IF "$(NTDEBUG)" == "retail" || "$(NTDEBUG)" == "" || "$(NTDEBUG)" == "ntsdnodbg"
#...release
CFLAGS=$(CFLAGS) /MT
LINKER_FORCE_NO_DBG_SECTION=1
!ELSE
#...debug
CFLAGS=$(CFLAGS) /MTd
!ENDIF

!IF "$(_BUILDARCH)" == "AMD64"
TARGETNAME=$(TARGETNAME)64
!ELSE
TARGETNAME=$(TARGETNAME)32
!ENDIF

SOURCES = crapto1.cpp crypto1.cpp mf0xAB.cpp mfoc.cpp rd0xAB.cpp resource.rc \
        lu_core.c \
        lu_descriptor.c \
        lu_io.c \
        lu_poll_windows.c \
        lu_sync.c \
        lu_threads_windows.c \
        lu_windows_usb.c
