553b61f824939aa08188325804948bdb3034c884
[platform/upstream/bash.git] / lib / doc-support / Makefile
1 GETOPT = ${topdir}/builtins/getopt.o
2 OBJECTS = texindex.o $(GETOPT)
3 SOURCES = texindex.c
4
5 LDFLAGS = -g
6
7 srcdir = .
8 VPATH = .:$(srcdir)
9
10 .c.o:
11         rm -f $@
12         $(CC) $(CFLAGS) -c $<
13
14 all: texindex
15
16 texindex: texindex.o
17         $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
18
19 clean:
20         rm -f texindex.o
21
22 realclean distclean maintainer-clean:   clean
23         rm -f texindex