diff --git a/Makefile b/Makefile index ef9b536f..ae8d898b 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,13 @@ ifeq ($(ARCH), win) env PATH=dep/bin:/mingw64/bin ./$< endif +debug: $(TARGET) +ifeq ($(ARCH), mac) + lldb ./Rack +else + gdb -ex run ./Rack +endif + clean: rm -rfv $(TARGET) build dist