add peripherals makefile template