summaryrefslogtreecommitdiff
path: root/glcdgraphics/Makefile
diff options
context:
space:
mode:
authorandreas 'randy' weinberger <vdr@smue.org>2010-02-28 11:58:05 +0100
committerandreas 'randy' weinberger <vdr@smue.org>2010-02-28 11:58:05 +0100
commitb9275019d000a079620e5923099c24a849f45a14 (patch)
tree98b829b3eecb3691533206a3a9c10e9e8aa48d69 /glcdgraphics/Makefile
parent0613fcc321f97f9a80dfb1caf5ed5eea1443d9f0 (diff)
downloadgraphlcd-base-b9275019d000a079620e5923099c24a849f45a14.tar.gz
graphlcd-base-b9275019d000a079620e5923099c24a849f45a14.tar.bz2
added LDFLAGS in Makefiles for better combat
Diffstat (limited to 'glcdgraphics/Makefile')
-rw-r--r--glcdgraphics/Makefile4
1 files changed, 2 insertions, 2 deletions
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