summaryrefslogtreecommitdiff
path: root/tools/genfont/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/genfont/Makefile')
-rw-r--r--tools/genfont/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/genfont/Makefile b/tools/genfont/Makefile
index f97d8e7..c4aab2f 100644
--- a/tools/genfont/Makefile
+++ b/tools/genfont/Makefile
@@ -2,7 +2,7 @@
# Makefile for the GraphLCD tool crtfont
#
--include ../../Make.config
+include ../../Make.config
PRGNAME = genfont
@@ -34,12 +34,11 @@ $(PRGNAME): $(OBJS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -rdynamic $(OBJS) $(LIBDIRS) $(LIBS) -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) *~
-