#------------------------------------------------------------------------------
VERSION = BWS.01
#------------------------------------------------------------------------------
!ifndef ROOT
ROOT = $(MAKEDIR)\..
!endif
#------------------------------------------------------------------------------
MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
DCC = $(ROOT)\bin\dcc32.exe $**
BRCC = $(ROOT)\bin\brcc32.exe $**
#------------------------------------------------------------------------------
PROJECTS = BluetoothManager_C6.exe RfCommClient_C6.exe RfCommServer_C6.exe \
  GattClient_C6.exe Beacons_C6.exe Console_C6.exe OppClient_C6.exe \
  OppServer_C6.exe GattServer_C6.exe FtpClient_C6.exe WiiRemote_C6.exe \
  BleSniffer_C6.exe AudioSwitcher_C6.exe AudioVolume_C6.exe
#------------------------------------------------------------------------------
default: $(PROJECTS)
#------------------------------------------------------------------------------

BluetoothManager_C6.exe: BluetoothManager\BluetoothManager_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

RfCommClient_C6.exe: RfCommClient\RfCommClient_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

RfCommServer_C6.exe: RfCommServer\RfCommServer_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

GattClient_C6.exe: GattClient\GattClient_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

Beacons_C6.exe: Beacons\Beacons_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

Console_C6.exe: Console\Console_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

OppClient_C6.exe: OppClient\OppClient_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

OppServer_C6.exe: OppServer\OppServer_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

GattServer_C6.exe: GattServer\GattServer_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

FtpClient_C6.exe: FtpClient\FtpClient_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

WiiRemote_C6.exe: WiiRemote\WiiRemote_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

BleSniffer_C6.exe: BleSniffer\BleSniffer_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

AudioSwitcher_C6.exe: AudioSwitcher\AudioSwitcher_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak

AudioVolume_C6.exe: AudioVolume\AudioVolume_C6.bpr
  $(ROOT)\bin\bpr2mak $**
  $(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak


