Makefrag (343B)
1 2 CINC_HDRS := $(wildcard $(top_srcdir)/libvxc/include/*.h) \ 3 $(wildcard $(top_srcdir)/libvxc/include/*/*.h) 4 5 CINC_INST := $(patsubst $(top_srcdir)/libvxc/include/%, \ 6 $(prefix)/vx32/include/%, \ 7 $(CINC_HDRS)) 8 9 10 install: $(CINC_INST) 11 12 $(prefix)/vx32/include/%.h: $(top_srcdir)/libvxc/include/%.h 13 @mkdir -p $(dir $@) 14 $(INSTALL) $< $@ 15