Cant debug my aplicattion compiled with Makefile

I have a C and Assembly application that i would like to debug using CLion, i have several .c and .h files compiled in a makefile and they all work together if i do "make run" I tried linking them to CLion but i have had no success in getting the debugger to work, i tried a few things but noon have worked.

This is what my make looks like

1 comment


Please go to File | Settings | Build, Execution, Deployment | Makefile and in the Build target field specify prog. After that do Tools | Makefile | Clean and Reload Makefile Project. Does it help? 


Please sign in to leave a comment.