diff options
Diffstat (limited to 'tools/lcdtestpattern')
-rw-r--r-- | tools/lcdtestpattern/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/lcdtestpattern/Makefile b/tools/lcdtestpattern/Makefile index e29305b..29fe792 100644 --- a/tools/lcdtestpattern/Makefile +++ b/tools/lcdtestpattern/Makefile @@ -2,7 +2,7 @@ # Makefile for the GraphLCD tool showpic # --include ../../Make.config +include ../../Make.config PRGNAME = lcdtestpattern @@ -32,12 +32,11 @@ $(PRGNAME): $(OBJS) $(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBS) $(LIBDIRS) -lglcddrivers -lglcdgraphics -lstdc++ -o $(PRGNAME) install: $(PRGNAME) - install -d $(BINDIR) - install -m 755 -o root -g root $(HAVE_STRIP) $(PRGNAME) $(BINDIR) + install -d $(DESTDIR)$(BINDIR) + install -m 755 $(HAVE_STRIP) $(PRGNAME) $(DESTDIR)$(BINDIR) uninstall: - rm -f $(BINDIR)/$(PRGNAME) + rm -f $(DESTDIR)$(BINDIR)/$(PRGNAME) clean: @-rm -f $(OBJS) $(DEPFILE) $(PRGNAME) *~ - |