$(GCC) $(CFLAGS) -c -o $@ $< $(ALL_CFLAGS)
memcheck: tilda
- valgrind --tool=memcheck ./tilda
+ # Variables to make GLib work MUCH better in valgrind
+ export G_DEBUG=gc-friendly
+ export G_SLICE=always-malloc
+ valgrind --suppressions=tilda.suppressions --tool=memcheck --leak-check=full ./tilda
clean:
rm -f *.o