diff options
| -rw-r--r-- | Makefile | 14 | ||||
| -rwxr-xr-x | png_test | bin | 31256 -> 0 bytes |
2 files changed, 11 insertions, 3 deletions
@@ -50,7 +50,15 @@ test-png: clean test: test-png +# $(TEST) is passed in via `make gdb TEST=<test_name>` +# NOTE: <test_name> should be the name of the test target's output binary +# inside the Makefile but cannot be the more generic 'test' target +# +# +# +# WARNING: TEST does not have a default value + gdb: debug - gdb -x debug/.gdbinit - -.PHONY: all clean debug release asan test test-png gdb + gdb -x debug/.gdbinit $(OUTDIR)/$(TEST) + +.PHONY: all clean debug release asan test test-png gdb
\ No newline at end of file diff --git a/png_test b/png_test Binary files differdeleted file mode 100755 index eef54af..0000000 --- a/png_test +++ /dev/null |
