about summary refs log tree commit diff
path: root/other/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'other/Makefile')
-rw-r--r--other/Makefile5
1 files changed, 2 insertions, 3 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