Put autostart.sh to ~/.dwm/, chmod +x, then make and sudo make install. On Devuan and similar systems add dwm record to /usr/share/xsessions/dwm.desktop.