diff --git a/Makefile b/Makefile index 46d1ed8..d24cc51 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,6 @@ MANDIR ?= $(DATADIR)/man SRCS := $(wildcard *.cpp) OBJS := $(subst .cpp,.o,$(SRCS)) DEPS := $(subst .cpp,.d,$(SRCS)) -HDRS := $(filter-out $(LIBNAME).hpp,$(wildcard *.hpp)) CXX ?= g++ @@ -56,18 +55,10 @@ endif %.d: ; -$(LIBNAME).hpp: $(HDRS) - @echo updating $(LIBNAME).hpp - @cp /dev/null $(LIBNAME).hpp - @for h in $(HDRS); \ - do \ - cat $$h >> $(LIBNAME).hpp; \ - done - .PHONY: clean install clean: - $(RM) $(OBJS) $(DEPS) $(REALNAME) $(LIBNAME).hpp + $(RM) $(OBJS) $(DEPS) $(REALNAME) install: $(REALNAME) $(LIBNAME).hpp $(INSTALL) -m 644 $(REALNAME) $(LIBDIR)