include /etc/os-release DAY != date +%d MESSAGE != fortune -s motd_$(DAY): $(info Hello $(USER)) $(info Placing message:) echo "Welcome to $(NAME)" > $@ echo $(MESSAGE) >> $@