about summary refs log tree commit diff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-09-23 15:41:11 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-09-23 15:41:11 +0000
commite0127ffbf9440f7fa4042eab3bbf741f1185153e (patch)
treeaf571482b745c25e7bff06258314f470c118667b /lib/Makefile
parent6ab48c2924e4db063bdf0073ebf52bae6545eb2c (diff)
downloadnetpbm-mirror-e0127ffbf9440f7fa4042eab3bbf741f1185153e.tar.gz
netpbm-mirror-e0127ffbf9440f7fa4042eab3bbf741f1185153e.tar.xz
netpbm-mirror-e0127ffbf9440f7fa4042eab3bbf741f1185153e.zip
neaten make messages
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1300 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 505aef6d..b922e30b 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -81,10 +81,13 @@ extra_staticlib: $(EXTRA_STATICLIB)
 # type, but request a static library in addition.
 #----------------------------------------------------------------------------
 
-$(LIBOBJECTS): %.o: %.c importinc
 # Note that the user may have configured -I options into CPPFLAGS/CFLAGS.
-	$(CC) -c $(INCLUDES) -DNDEBUG $(CPPFLAGS) $(CFLAGS) $(CFLAGS_SHLIB) \
-	  $(CFLAGS_PERSONAL) $(CADD) -o $@ $<
+CFLAGS_ALL = $(INCLUDES) -DNDEBUG $(CPPFLAGS) $(CFLAGS) $(CFLAGS_SHLIB) \
+ $(CFLAGS_PERSONAL) $(CADD)
+
+$(LIBOBJECTS): %.o: %.c importinc
+# We have to get the command all on one line to avoid messy make messages
+	$(CC) -c $(CFLAGS_ALL) -o $@ $<
 
 MAJ = $(NETPBM_MAJOR_RELEASE)
 MIN = $(NETPBM_MINOR_RELEASE)