reverted to hand-edited single lib header

This commit is contained in:
Bob Polis 2020-02-17 21:10:22 +01:00
parent 99159a9764
commit beabe26c1d

View File

@ -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)