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

all: locate.exe bigram.exe code.exe
.PHONY: all

.c$O:
	$(CC) -c $(CFLAGS) $<

locate.exe: locate$O 
	$(CC) -o $@ $(LDFLAGS) locate$O $(LIBS)

bigram.exe: bigram$O
	$(CC) -o $@ $(LDFLAGS) bigram$O $(LIBS)

code.exe: code$O
	$(CC) -o $@ $(LDFLAGS) code$O $(LIBS)

locate$O: ../lib/fnmatch.h
