summaryrefslogtreecommitdiff
path: root/tools/crtfont/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/crtfont/Makefile')
-rw-r--r--tools/crtfont/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/crtfont/Makefile b/tools/crtfont/Makefile
index 592d123..6c6abdf 100644
--- a/tools/crtfont/Makefile
+++ b/tools/crtfont/Makefile
@@ -17,14 +17,11 @@ all: $(PRGNAME)
# Implicit rules:
%.o: %.c
- $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
+ $(CXX) $(CXXEXTRA) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
# Dependencies:
-MAKEDEP = $(CXX) -MM -MG
-DEPFILE = .dependencies
-$(DEPFILE): Makefile
- @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
+DEPFILE = $(OBJS:%.o=%.d)
-include $(DEPFILE)
@@ -35,7 +32,7 @@ $(PRGNAME): $(OBJS)
install: $(PRGNAME)
install -d $(BINDIR)
- install -m 755 -o root -g root $(STRIP) $(PRGNAME) $(BINDIR)
+ install -m 755 -o root -g root $(HAVE_STRIP) $(PRGNAME) $(BINDIR)
uninstall:
rm -f $(BINDIR)/$(PRGNAME)