From: Youhei SASAKI <uwabami@gfd-dennou.org>
Date: Wed, 26 Aug 2015 14:22:39 +0900
Subject: Fix_fcpack_compile

---
 src/misc1/fiolib/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/misc1/fiolib/Makefile b/src/misc1/fiolib/Makefile
index 3cbec49..bd85844 100644
--- a/src/misc1/fiolib/Makefile
+++ b/src/misc1/fiolib/Makefile
@@ -18,6 +18,11 @@ LIBOBJS		= $(LIBFOBJS) $(LIBCOBJS)
 object: $(LIBOBJS)
 
 library: archive ranlib
+fcpack.f:fcpack.g
+	@echo "Substituting system constants (fcpack.g -> fcpack.f)"
+	@sed -e "s!@ICLCT!$(ISLCT)!" \
+	  fcpack.g > fcpack.f
+
 
 fcpack.f:fcpack.g
 	@echo "Substituting system constants (fcpack.g -> fcpack.f)"
