summaryrefslogtreecommitdiff
path: root/glcdgraphics
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2012-06-09 00:42:44 +0200
committermrwastl <mrwastl@users.sourceforge.net>2012-06-09 00:42:44 +0200
commit6ce1975169f81c113b343b67821554062d2859e9 (patch)
treea0419b29495778db6c23ce945f25e53e99e6e553 /glcdgraphics
parentd251903ec7eb83087ea91d5fe7b489c5e78ec8ee (diff)
downloadgraphlcd-base-6ce1975169f81c113b343b67821554062d2859e9.tar.gz
graphlcd-base-6ce1975169f81c113b343b67821554062d2859e9.tar.bz2
graphlcd-base can now be compiled by clang, too. simply write 'CXX=clang make' to do so.
Diffstat (limited to 'glcdgraphics')
-rw-r--r--glcdgraphics/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/glcdgraphics/Makefile b/glcdgraphics/Makefile
index 0a10190..0b7336f 100644
--- a/glcdgraphics/Makefile
+++ b/glcdgraphics/Makefile
@@ -32,11 +32,11 @@ HEADERS = bitmap.h font.h glcd.h image.h imagefile.h pbm.h extformats.h
### Implicit rules:
%.o: %.c
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
+ $(CXX) $(CXXEXTRA) $(CXXFLAGS) $(LDFLAGS) -c $(DEFINES) $(INCLUDES) $<
# Dependencies:
-MAKEDEP = g++ -MM -MG
+#MAKEDEP = g++ -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@