add debug target and clean main.c