SHELL = C:/Program\ Files/BrAutomation/AS30071/As/GnuInst/V2.95.3/bin/sh
export AS_PLC := PLC1
export AS_CPU_PATH := $(AS_TEMP_PATH)/Objects/$(AS_CONFIGURATION)/$(AS_PLC)
export AS_ACTIVE_CONFIG_PATH := $(AS_PROJECT_PATH)/Physical/$(AS_CONFIGURATION)/$(AS_PLC)
export WIN32_AS_CPU_PATH := $(WIN32_AS_TEMP_PATH)\Objects\$(AS_CONFIGURATION)\$(AS_PLC)
export WIN32_AS_ACTIVE_CONFIG_PATH := $(WIN32_AS_PROJECT_PATH)\Physical\$(AS_CONFIGURATION)\$(AS_PLC)


CpuMakeFile: \
$(AS_CPU_PATH)/ashwd.br \
$(AS_CPU_PATH)/asfw.br \
$(AS_CPU_PATH)/sysconf.br \
$(AS_CPU_PATH)/arconfig.br \
$(AS_CPU_PATH)/LM.br \
$(AS_CPU_PATH)/LQD.br \
$(AS_CPU_PATH)/LQDF.br \
$(AS_CPU_PATH)/LQDFR.br \
$(AS_CPU_PATH)/REK.br \
$(AS_CPU_PATH)/RLS.br \
$(AS_CPU_PATH)/iomap.br \
$(AS_BINARIES_PATH)/$(AS_CONFIGURATION)/$(AS_PLC)/Transfer.lst

$(AS_BINARIES_PATH)/$(AS_CONFIGURATION)/$(AS_PLC)/Transfer.lst: \
	$(AS_CPU_PATH)/ashwd.br \
	$(AS_CPU_PATH)/asfw.br \
	$(AS_CPU_PATH)/sysconf.br \
	$(AS_CPU_PATH)/arconfig.br \
	$(AS_CPU_PATH)/LM.br \
	$(AS_CPU_PATH)/LQD.br \
	$(AS_CPU_PATH)/LQDF.br \
	$(AS_CPU_PATH)/LQDFR.br \
	$(AS_CPU_PATH)/REK.br \
	$(AS_CPU_PATH)/RLS.br \
	$(AS_CPU_PATH)/iomap.br \
	$(AS_PROJECT_PATH)/Physical/Simulation/PLC1/Cpu.sw
	@$(AS_BIN_PATH)/BR.AS.FinalizeBuild.exe "$(AS_PROJECT_PATH)/LQrizeni.apj" -t "$(AS_TEMP_PATH)" -o "$(AS_BINARIES_PATH)" -c "$(AS_CONFIGURATION)" -i "C:/Program Files/BrAutomation/AS30071" -S PLC1 -all -pil   -C "/DA=2 /DAIP=127.0.0.1 /REPO=11160 /RT=1000" -D "/IF=Tcpip /SA=1"

#nothing to do (just call module make files)

include $(AS_CPU_PATH)/iomap/iomap.mak
include $(AS_CPU_PATH)/RLS/RLS.mak
include $(AS_CPU_PATH)/REK/REK.mak
include $(AS_CPU_PATH)/LQDFR/LQDFR.mak
include $(AS_CPU_PATH)/LQDF/LQDF.mak
include $(AS_CPU_PATH)/LQD/LQD.mak
include $(AS_CPU_PATH)/LM/LM.mak
include $(AS_CPU_PATH)/arconfig/arconfig.mak
include $(AS_CPU_PATH)/sysconf/sysconf.mak
include $(AS_CPU_PATH)/AsFw/AsFw.mak
include $(AS_CPU_PATH)/AsHwd/AsHwd.mak

.DEFAULT:
#nothing to do (need this target for prerequisite files that don't exit)
