SHELL = /bin/sh

###
include $(BUILDHOME)/buildprefs/make.pre
###

TARGET		= $(OBJ_DIR)/libbc.a

SRCS		= \
			number.o \
			vfprintf.o

OBJS		= $(SRCS_LIST_TO_OBJS)

CFLAGS		+= -DHAVE_CONFIG_H

# Note that ../h/protos.h has to be included before the one supplied
# with gcc.  One way to do that is to ensure that -I../h comes before
# other header paths.

INCLUDES := -I. -I.. -I../h $(INCLUDES)

MY_INSTALL_DIR	= $(BELIBRARIES)

$(TARGET):	$(OBJ_DIR) $(OBJS)
			$(AR) $(ARFLAGS) $@ $(OBJS)

###
include $(BUILDHOME)/buildprefs/make.post
###
