Fixed bug in Makefile
generate 0.5 seconds signal
add ifndef