reverted to hand-edited single lib header
This commit is contained in:
parent
99159a9764
commit
beabe26c1d
11
Makefile
11
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user