From b9275019d000a079620e5923099c24a849f45a14 Mon Sep 17 00:00:00 2001 From: andreas 'randy' weinberger Date: Sun, 28 Feb 2010 11:58:05 +0100 Subject: added LDFLAGS in Makefiles for better combat --- glcdgraphics/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glcdgraphics/Makefile') diff --git a/glcdgraphics/Makefile b/glcdgraphics/Makefile index fb072ab..399b3ad 100644 --- a/glcdgraphics/Makefile +++ b/glcdgraphics/Makefile @@ -21,7 +21,7 @@ HEADERS = bitmap.h font.h glcd.h image.h imagefile.h pbm.h ### Implicit rules: %.o: %.c - $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< + $(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $< # Dependencies: @@ -46,7 +46,7 @@ endif### Targets: all: $(LIBNAME) $(LIBNAME): $(OBJS) - $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(LIBS) -Wl,-soname="$(BASENAME).$(VERMAJOR)" -o $@ ln -sf $(LIBNAME) $(BASENAME) install: all -- cgit v1.2.3