about summary refs log tree commit diff
path: root/common.mk
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-07-30 21:34:18 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2011-07-30 21:34:18 +0000
commit1b6b1eabcd212339e4eca66430e3d95050456283 (patch)
treed7e03f7a47aa7db1303377532a37afce94a3145d /common.mk
parent9a8509a688eb9fe25e1d6ab9c186d627eb307e9a (diff)
downloadnetpbm-mirror-1b6b1eabcd212339e4eca66430e3d95050456283.tar.gz
netpbm-mirror-1b6b1eabcd212339e4eca66430e3d95050456283.tar.xz
netpbm-mirror-1b6b1eabcd212339e4eca66430e3d95050456283.zip
Instead of omitting Pnmtops from build when there is no libz, just build Pnmtops without flate capability
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1522 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 66b34fa0..831619fa 100644
--- a/common.mk
+++ b/common.mk
@@ -45,6 +45,7 @@
 # CC: C compiler command 
 # CPPFLAGS: C preprocessor options
 # CFLAGS: C compiler general options
+# CFLAGS_TARGET: C compiler options for a particular target
 # LD: linker command
 # LINKERISCOMPILER: 'Y' if the linker invoked by LD is actually a compiler
 #   front end, so takes linker options in a different format
@@ -222,7 +223,8 @@ config:
 # assertion and crash the program if it isn't really true.  You can add
 # -UNDEBUG (in any of various ways) to override this.
 #
-CFLAGS_ALL =  -DNDEBUG $(CPPFLAGS) $(CFLAGS) $(CFLAGS_PERSONAL) $(CADD)
+CFLAGS_ALL = \
+  -DNDEBUG $(CPPFLAGS) $(CFLAGS) $(CFLAGS_TARGET) $(CFLAGS_PERSONAL) $(CADD)
 
 $(OBJECTS): %.o: %.c importinc
 #############################################################################