diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-09-28 02:22:32 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2022-09-28 02:22:32 +0000 |
commit | 0d782c278caeb9e70b1a5635d018168b09ecf2ba (patch) | |
tree | b807f4ee6b4ce6b9cbafb66768d09c106a71040d /GNUmakefile | |
parent | 4616d7d06bc2ee200a7f40cee107fbbbf5d0cae9 (diff) | |
download | netpbm-mirror-0d782c278caeb9e70b1a5635d018168b09ecf2ba.tar.gz netpbm-mirror-0d782c278caeb9e70b1a5635d018168b09ecf2ba.tar.xz netpbm-mirror-0d782c278caeb9e70b1a5635d018168b09ecf2ba.zip |
Copy current Development release as Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4444 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 7389c16a..2c172da6 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -24,6 +24,18 @@ # The default target is either "merge" or "nonmerge", as determined by # the DEFAULT_TARGET variable set by config.mk. +# Debugging techniques: +# +# To build so you can easily debug with a debugger such as Gdb: +# +# make CFLAGS="-g -O0" +# +# To debug libnetpbm, link it statically into the using program: +# +# make NETPBMLIBTYPE=unixstatic pamcut +# +# (Then 'ldd ./pamcut' to make sure it worked) +# # About the "merge" target: Normally the Makefiles build separate # executables for each program. However, on some systems (especially # those without shared libraries) this can mean a lot of space. In |