about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-03 20:00:33 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-03 20:00:33 +0000
commitdc623704d3b6f4cadd2036c9627f2ac3054b6b0c (patch)
treed5fd4eb101701f85487f49e7087b5043fbe71bee /other
parent5fcd32eee038bb0cba85f2bcb70a1b0824cf618a (diff)
downloadnetpbm-mirror-dc623704d3b6f4cadd2036c9627f2ac3054b6b0c.tar.gz
netpbm-mirror-dc623704d3b6f4cadd2036c9627f2ac3054b6b0c.tar.xz
netpbm-mirror-dc623704d3b6f4cadd2036c9627f2ac3054b6b0c.zip
Move LDFLAGS later
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@775 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r--other/Makefile5
-rw-r--r--other/pamx/Makefile4
2 files changed, 4 insertions, 5 deletions
diff --git a/other/Makefile b/other/Makefile
index dc55f773..a6748347 100644
--- a/other/Makefile
+++ b/other/Makefile
@@ -51,10 +51,9 @@ all: $(BINARIES) $(SUBDIRS:%=%/all)
 include $(SRCDIR)/common.mk
 
 ppmsvgalib: %: %.o $(NETPBMLIB) $(LIBOPT)
-	$(LD) $(LDFLAGS) -o $@ $< \
+	$(LD) -o $@ $< \
 	  $(shell $(LIBOPT) $(NETPBMLIB) $(LINUXSVGALIB)) \
-	  $(MATHLIB) $(LDLIBS) \
-	  $(LADD) 
+	  $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(LADD) 
 
 install.bin: install.bin.local
 .PHONY: install.bin.local
diff --git a/other/pamx/Makefile b/other/pamx/Makefile
index 04a019e8..a40ea3a6 100644
--- a/other/pamx/Makefile
+++ b/other/pamx/Makefile
@@ -40,6 +40,6 @@ all: $(BINARIES)
 include $(SRCDIR)/common.mk
 
 pamx: $(PAMX_OBJECTS) $(NETPBMLIB) $(LIBOPT)
-	$(LD) $(LDFLAGS) -o $@ $(PAMX_OBJECTS) \
+	$(LD) -o $@ $(PAMX_OBJECTS) \
 	  $(shell $(LIBOPT) $(NETPBMLIB) $(X11LIB)) \
-	  $(LDLIBS) $(MATHLIB) $(RPATH) $(LADD)
+	  $(LDFLAGS) $(LDLIBS) $(MATHLIB) $(RPATH) $(LADD)