summaryrefslogtreecommitdiff
path: root/glcdgraphics/Makefile
diff options
context:
space:
mode:
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)