# $XFree86: doctools/sgmlformat/instant/Makefile,v 1.6 1998/11/01 12:12:20 dawes Exp $

SHELL=/bin/sh

# These are defaults which are normally overriden
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
INSTALL = install

SRCS =  browse.c info.c main.c tables.c traninit.c translate.c  \
	tranvar.c util.c sgmls.c

OBJS =  browse.o info.o main.o tables.o traninit.o translate.o  \
	tranvar.o util.o sgmls.o

CFLAGS = $(CDEBUGFLAGS) -DTRANSPEC_DIR=\"${TRANSPEC_DIR}\"

all: instant

instant: $(OBJS)
	$(CC) -o instant $(OBJS) -L$(TOPDIR) $(REGEXLIB) $(EXTRALIBS)

install: instant
	$(INSTALL) -c -m 755 instant $(BINDIR)

#MAN1=	instant.1
#MAN5=	transpec.5

clean:
	rm -f $(OBJS) instant
