From 6ce1975169f81c113b343b67821554062d2859e9 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Sat, 9 Jun 2012 00:42:44 +0200 Subject: graphlcd-base can now be compiled by clang, too. simply write 'CXX=clang make' to do so. --- glcdgraphics/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glcdgraphics') 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) > $@ -- cgit v1.2.3