X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FMakefile;h=19d54bb0ab92144f1c5062e215fbfde3dc3c9fe3;hb=9f907eef20bc6b488473d29310d2384eee3619da;hp=a7c587c2c5ce7b4ccd1e5ff9590cdfeb9b637fbc;hpb=852a8eef1e8858a40da0be4093eba3deaf468f51;p=rocksndiamonds.git diff --git a/src/Makefile b/src/Makefile index a7c587c2..19d54bb0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -306,6 +306,20 @@ clean-bin: clean: clean-obj clean-ico clean-bin +# ----------------------------------------------------------------------------- +# run and test targets +# ----------------------------------------------------------------------------- + +run: all + $(PROGNAME) --verbose + +gdb: all + gdb -batch -x ../GDB_COMMANDS $(PROGNAME) + +valgrind: all + valgrind -v --leak-check=yes $(PROGNAME) 2> ../valgrind.out + + # ----------------------------------------------------------------------------- # development only # -----------------------------------------------------------------------------