!ifndef ROOT
ROOT = $(MAKEDIR)
!endif
#---------------------------------------------------------------------------------------------------
DCC  = $(ROOT)\dcc32.exe -q -w -m
#---------------------------------------------------------------------------------------------------
default: \
BasicDemo.exe \
CollectionDemo.exe \
IOWarrior.exe \
IOIRWarrior.exe \
LCDDemo.exe \
SimpleHIDWrite.exe \
UsagesDemo.exe \

#---------------------------------------------------------------------------------------------------

BasicDemo.exe: Delphi\BasicDemo\BasicDemo.dpr
  cd Delphi\BasicDemo
  $(DCC) $&.dpr
  cd ..\..

CollectionDemo.exe: Delphi\CollectionDemo\CollectionDemo.dpr
  cd Delphi\CollectionDemo
  $(DCC) $&.dpr
  cd ..\..

IOWarrior.exe: Delphi\IO-WarriorDemo\IOWarrior.dpr
  cd Delphi\IO-WarriorDemo
  $(DCC) $&.dpr
  cd ..\..

IOIRWarrior.exe: Delphi\IO-WarriorIRDemo\IOIRWarrior.dpr
  cd Delphi\IO-WarriorIRDemo
  $(DCC) $&.dpr
  cd ..\..

LCDDemo.exe: Delphi\IO-WarriorLCDDemo\LCDDemo.dpr
  cd Delphi\IO-WarriorLCDDemo
  $(DCC) $&.dpr
  cd ..\..

SimpleHIDWrite.exe: Delphi\ReadWriteDemo\SimpleHIDWrite.dpr
  cd Delphi\ReadWriteDemo
  $(DCC) $&.dpr
  cd ..\..

UsagesDemo.exe: Delphi\UsagesDemo\UsagesDemo.dpr
  cd Delphi\UsagesDemo
  $(DCC) $&.dpr
  cd ..\..

