I wonder why there isn’t any “debug” flag in the makefile.
I’d like to build using
-O0 instead of
-O3 when I need to debug my plugin.
make install DEBUG=true is enough.
How do you debug in Rack instead? I don’t want to change manually the compile.mk into the Rack folder. Once I pull new changes, it will replace edits and such.
Wouldn’t be more elegant to just place:
ifndef DEBUG FLAGS += -O3 else FLAGS += -O0 endif
(And the same with strip command)
Or somethings more configurable by user tasks?