summaryrefslogtreecommitdiff
path: root/tools/showpic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/showpic/Makefile')
-rw-r--r--tools/showpic/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/tools/showpic/Makefile b/tools/showpic/Makefile
index 52c1850..de7560a 100644
--- a/tools/showpic/Makefile
+++ b/tools/showpic/Makefile
@@ -18,14 +18,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)
@@ -36,7 +33,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)