# Makefile for library files used by GNU find, xargs, and locate.
# Do not use this makefile directly, but only from `../Makefile'.
# Copyright (C) 1990 Free Software Foundation, Inc.

OBJECTS = dirname.o error.o filemode.o getopt.o getopt1.o \
listfile.o modechange.o regex.o savedir.o xmalloc.o xstrdup.o \
stpcpy.o fnmatch.o strftime.o version.o dirent.o words.o stat.o

all: libfind.a
.PHONY: all

.c.o:
	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -I. $<

TAGS: $(SOURCES)
	etags $(SOURCES)

libfind.a: $(OBJECTS)
	rm.exe -f $@
	$(AR) cr $@ $(OBJECTS)
	$(RANLIB) $@

fnmatch.o: fnmatch.h
getopt1.o: getopt.h
modechange.o: modechange.h
regex.o: regex.h
