Retain is saved in file and backup of this file is done every time.
File isn't saved on every PLC cycle to avoid high I/O load.
By default, retain is saved every second and on PLC stop/shutdown.
It's possible to override retain flush period by using CFLAGS option
in project's settings. For example, for 0.5 seconds period
use "-DFILE_RETAIN_SAVE_PERIOD_S=0.5".
BEREMIZ_OBJS = $(BEREMIZSRC:.c=.o)all: warn some_binary @echo "*** all done ***"warn: @echo "*** Sample Makefile, does nothing ***"some_binary: $(BEREMIZ_OBJS) @echo "* Would link $^ -> $@"%.o: %.c @echo "* Would compile $< -> $@"