From beabe26c1d81087d255a9d69267bc8ea87a8ce65 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 17 Feb 2020 21:10:22 +0100 Subject: [PATCH] reverted to hand-edited single lib header --- Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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)