#
# Makefile for a simple library.
#
# This library uses Log(), but creation of the library doesn't involve
# linking against liblog.a, so we don't need to have a dependency on
# that library.
#
FMS_TOP = ../..
include $(FMS_TOP)/build/makedefs.mk

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

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

# add an extra directory to our include path; could also use rel path here
CFLAGS += -I$(FMS_TOP)/loglib

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

# build
here: $(FMS_BUILD_LIB)

# don't install this one, since only our parent should have it
install-here:
	@true

