i-bash/lib/doc-support/Makefile
2009-09-12 16:46:49 +00:00

23 lines
342 B
Makefile

GETOPT = ${topdir}/builtins/getopt.o
OBJECTS = texindex.o $(GETOPT)
SOURCES = texindex.c
LDFLAGS = -g
srcdir = .
VPATH = .:$(srcdir)
.c.o:
rm -f $@
$(CC) $(CFLAGS) -c $<
all: texindex
texindex: texindex.o
$(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS)
clean:
rm -f texindex.o
realclean distclean maintainer-clean: clean
rm -f texindex