# ------------------------------------------------------------------------------ # 静的ライブラリ 生成ルール # ------------------------------------------------------------------------------ ifneq ($(strip $(NAME)),) ifeq ($(strip $(NAME).a),$(strip $(TARGET))) $(TARGET): $(OBJS) $(AR) rv $@ $^ $(RANLIB) $@ $(TOP_TARGET): $(TARGET) ifneq ($(strip $(HEADER_FILES)),) $(CP) -f $(HEADER_FILES) $(TOPDIR)/include/ endif $(CP) -f $(TARGET) $(TOPDIR)/lib/ endif endif