#
# Makefile for a simple library.
#
FMS_TOP = ..
include $(FMS_TOP)/build/makedefs.mk

# source files from wildcard
SRCS = $(wildcard *.c *.cc *.cpp)

# tell FMS that we want all SRCS to be built into a static library
FMS_BUILD_LIB = liblog.a


#
# rules start here
#
include $(FMS_TOP)/build/makerules.mk

# build
here: $(FMS_BUILD_LIB)

# install
install-here:
	@echo "   Copying $(FMS_BUILD_LIB) to $(FMS_DIST_LIBDIR)"
	@$(CPIFNEW) $(FMS_OBJDIR)/$(FMS_BUILD_LIB) $(FMS_DIST_LIBDIR)

