#
#       Makefile for lib
#
#       Copyright (C) 2000-2022 GFD Dennou Club. All rights reserved.
#

include ../Mkinclude


install:
	@-if test $(LIBDIR) != $(LLIBDIR); then \
	  $(CP) $(LDCLLIBFILE) $(DCLLIBFILE); \
	  if test -f $(LDCLSHLIBFILE); then $(CP) $(LDCLSHLIBFILE) $(DCLSHLIBFILE); fi; \
	  $(CP) $(LDBASEDIR)/* $(DBASEDIR); fi
	$(RANLIB) $(DCLLIBFILE)

clean: clean.local

distclean: clean.local clean.lib

clean.local:
	$(RM) *~

clean.lib:
	$(RM) $(LDCLLIBFILE)
	$(RM) $(LDCLSHLIBFILE)
	$(RM) $(LDBASEDIR)/*
