commit b362f4d728e205b582125c59b91cbaa4354049f8 parent cbd61bb3e4476c8e254917f1f42620adb3d693dd Author: Jordan Ritter <jpr5@darkridge.com> Date: Tue, 22 Feb 2005 05:00:05 +0000 OK, commit of clean targets which should now finally clean up everything (including what each respective regex lib's distclean misses) Diffstat:
M | Makefile.in | | | 23 | ++++++++++++----------- |
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/Makefile.in b/Makefile.in @@ -51,27 +51,28 @@ install: $(TARGET) $(INSTALL) -c -m 0755 $(TARGET) $(DESTDIR)/$(BINDIR_INSTALL)/$(TARGET) $(INSTALL) -c -m 0644 $(MANPAGE) $(DESTDIR)/$(MANDIR_INSTALL)/$(MANPAGE) -pcre: - @cd pcre-5.0 && make $(REGEX_OBJS) && cp -f $(REGEX_OBJS) .. +clean: + rm -f *~ $(OBJS) $(REGEX_OBJS) $(TARGET) -regex: - @cd regex-0.12 && make $(REGEX_OBJS) && cp -f $(REGEX_OBJS) .. +distclean: clean clean-$(REGEX_TARGET) + rm -f config.status config.cache config.log config.h Makefile $(OBJS): Makefile .c.o: $(CC) $(CFLAGS) $(INCLUDES) -g -c $< - -clean: - rm -f *~ $(OBJS) $(REGEX_OBJS) $(TARGET) - -distclean: clean clean-$(REGEX_TARGET) - rm -f config.status config.cache config.log config.h Makefile +pcre: + @cd pcre-5.0 && make $(REGEX_OBJS) && cp -f $(REGEX_OBJS) .. clean-pcre: - cd pcre-5.0 && rm -f RunTest dftables libpcre.pc && test -f ./Makefile && make distclean + cd pcre-5.0 && test -f ./Makefile && make distclean + cd pcre-5.0 && rm -f RunTest dftables libpcre.pc + +regex: + @cd regex-0.12 && make $(REGEX_OBJS) && cp -f $(REGEX_OBJS) .. clean-regex: + cd regex-0.12 && test -f ./Makefile && make distclean cd regex-0.12 && rm -f Makefile doc/Makefile test/Makefile config.cache config.log config.status ngrep.o: ngrep.c ngrep.h