add a makefile
add ext test script to Makefile
fix Makefile clean task