Browse Source

Added `make debug`

tags/v0.3.2
Andrew Belt 7 years ago
parent
commit
cb7603864b
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      Makefile

+ 7
- 0
Makefile View File

@@ -54,6 +54,13 @@ ifeq ($(ARCH), win)
env PATH=dep/bin:/mingw64/bin ./$< env PATH=dep/bin:/mingw64/bin ./$<
endif endif


debug: $(TARGET)
ifeq ($(ARCH), mac)
lldb ./Rack
else
gdb -ex run ./Rack
endif

clean: clean:
rm -rfv $(TARGET) build dist rm -rfv $(TARGET) build dist




Loading…
Cancel
Save