I have added a printf
statement in my program, to see what a variable looks like. Then I manually retyped the compile command from the Makefile manually interpolating the env vars, and finally run my compiled program manually at the CLI.
Is there a better way to either compile the code, or debug it without printf
statements?