summaryrefslogtreecommitdiff
path: root/glcdgraphics/Makefile
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@gmx.de>2014-10-19 10:42:51 +0200
committerAndreas Regel <andreas.regel@gmx.de>2016-03-31 18:50:57 +0200
commit831b3ad714a036edab6b63f84040ab8b32a43ef4 (patch)
treeefc3acdcddc04735b03118a129baa299f2248dfc /glcdgraphics/Makefile
parent7714e8f77183480aa356df454bfa8144e3cd36b4 (diff)
downloadgraphlcd-base-831b3ad714a036edab6b63f84040ab8b32a43ef4.tar.gz
graphlcd-base-831b3ad714a036edab6b63f84040ab8b32a43ef4.tar.bz2
Remove dependency target, instead generate dependencies during compliling.
Diffstat (limited to 'glcdgraphics/Makefile')
-rw-r--r--glcdgraphics/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/glcdgraphics/Makefile b/glcdgraphics/Makefile
index 0b7336f..5abbb2b 100644
--- a/glcdgraphics/Makefile
+++ b/glcdgraphics/Makefile
@@ -36,10 +36,7 @@ HEADERS = bitmap.h font.h glcd.h image.h imagefile.h pbm.h extformats.h
# Dependencies:
-#MAKEDEP = g++ -MM -MG
-DEPFILE = .dependencies
-$(DEPFILE): Makefile
- @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
+DEPFILE = $(OBJS:%.o=%.d)
-include $(DEPFILE)
@@ -52,8 +49,7 @@ ifdef HAVE_FREETYPE2
LIBS += -lfreetype
endif
DEFINES += -DHAVE_FREETYPE2
-endif### Targets:
-
+endif
# two ifdef/endif are used because older installations may not support 'else ifdef'
ifeq ($(IMAGELIB), imagemagick)
@@ -68,6 +64,8 @@ ifeq ($(IMAGELIB), graphicsmagick)
endif
+### Targets:
+
all: $(LIBNAME)
$(LIBNAME): $(OBJS)