#
# makefile
#
# Copyright (C) 1994 Be Inc.  All Rights Reserved
#

SHELL		:= /bin/sh

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

INCLUDES	:= -I. -I.. -I../lib $(INCLUDES)
CFLAGS		+=	\
				-DHAVE_CONFIG_H

TARGET		= $(OBJ_DIR)/find

APP_VERSION     = -app 4 1 0 f 0 -short 4.1 -long "4.1 "`echo -n -e '\302\251'`" 1999 The Free Software Foundation"

SRCS		= \
				find.c \
				fstype.c \
				parser.c \
				pred.c \
				tree.c \
				util.c \
				version.c

OBJS := $(SRCS_LIST_TO_OBJS)

$(TARGET):	$(OBJ_DIR) $(OBJS)
		$(LD) -o $@ $(OBJS) ../lib/$(OBJ_DIR)/libfind.a $(LDFLAGS)
		$(SETVERSION) $@ $(SYSTEM_VERSION) $(APP_VERSION)


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