## This makefile has been generated automatically by mwgenmake.

## You may define the following variables:
## RUN.dir         : the directory where you want the executables to go
## COMPILE_OPTION  : can have the values: debug, optimized
## APP_CFLAGS      : additional compilation flags for C compiler
##                   and Resource compiler
## APP_CCPPFLAGS   : additional compilation flags for C++ compiler
## APP_LDFLAGS     : additional link flags (maybe specifying DLLs)
## MWINIT_DEFINES  : list of -D<symbols> used to initialize
##                   Mainwin in certain specific ways 
## MWLOCALES       : list of country codes corresponding to the
##                   resources you have prepared in the res subdirectory
## MIDL_IDL        : The IDL file to be compiled with MIDL
## MIDL_IID        : The iid file from MIDL (default: <idl_name>_i.c)
## MIDL_PROXY      : The proxy implementation from MIDL (default: <idl_name>_p.c)
## MIDL_HEADER     : The header with the interfaces and GUIDs (default: <idl_name>.h)
## MIDL_DLLDATA    : The dll data for the proxy from MIDL (default: dlldata.c)
## MIDL_TLB        : The typelib information from MIDL (default: <idl_name>.tlb)
##                   this will be created in the {RUN.dir} directory.


SOURCES =  \
	TestBench_i.c \
	StdAfx.cpp \
	TestBench.cpp
	
APP_LDFLAGS =  \
        -l./lib/DLL1
        -l./lib/Lib1
        -l./lib/Lib2


PROG	  = .\bin\TestBench

CPP_OBJS  = ${SOURCES:%.C=%.o}
CPP_OBJS := ${CPP_OBJS:%.cpp=%.o}
CPP_OBJS := ${CPP_OBJS:%.cxx=%.o}
OBJS	  = ${CPP_OBJS:%.c=%.o}
SRCS      = ${SOURCES}

WRESOURCE = .\code\TestBench.rc   # Windows resource
TRESOURCE = ${PROG}.rxt   # program

# COMPILE_OPTION can be one of the following: debug, optimized
ifndef COMPILE_OPTION
COMPILE_OPTION = debug
endif

# MIDL related definitions
MIDL_IDL    = .\code\TestBench.idl
MIDL_IID    = .\code\TestBench_i.c
MIDL_HEADER = .\code\TestBench.h
MIDL_TLB    = .\code\TestBench.tlb

# Tell the generic makefiles that this is an ATL module.
ATL_MODULE = 1

# by default a minsize server is generated 
# if you want a standalone server aka one that doesn't need alt.dll
# specify the ATL_MINDEPENDENCIES flag
# ATL_MINDEPENDENCIES  = 1
include $(MWHOME)/make.rules.simple

ifeq (${MW_CLEARMAKE},no)
include depend-$(MWCONFIG_NAME)
endif

all:	register_exe
