Permalink
Browse files

Makefile: debug: clean, GIR to root dir

  • Loading branch information...
1 parent d8d39bc commit cefd7d5f591abb450d45c870ad7a0100ef4b93d8 @antono antono committed Dec 29, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 Makefile
View
@@ -4,7 +4,7 @@ VALAC := valac-0.14
EXE := ./build/app.valum
LIB := ./build/libvalum_$(VER).so
-GIR := ./build/Valum-$(VER).gir
+GIR := Valum-$(VER).gir
HDR := ./build/valum_$(VER).h
VAPI := ./vapi/valum-$(VER)
@@ -44,11 +44,10 @@ vdrun: debug
@`which nemiver` --log-debugger-output $(EXE)
valgrind: debug
- G_SLICE=always-malloc G_DEBUG=gc-friendly $(shell which valgrind) --tool=memcheck --leak-check=full \
+ G_SLICE=always-malloc G_DEBUG=gc-friendly $(shell which valgrind) --tool=memcheck --leak-check=full \
--leak-resolution=high --num-callers=20 --log-file=vgdump $(EXE)
-
-debug:
+debug: clean
@$(MAKE) "FLAGS=$(FLAGS) --debug --save-temps"
genc:

0 comments on commit cefd7d5

Please sign in to comment.