# makefile for stdio-source compatibility code
#
# Written by Kiem-Phong Vo (4/24/91)
#
# Adapted to ZMailer's environment by Matti Aarnio <mea@nic.funet.fi>

srcdir = @srcdir@
VPATH = @srcdir@
@SET_MAKE@

INCDIR=	$(srcdir)/../../../../include
LIBDIR=	../../../../lib
BINDIR=	../../../../bin

# Compiler and flags to use
CXFLAGS=
CCMODE=	@CFLAGS@
AR=	@AR@
CC=	@CC@
CCFLAGS= -I$(srcdir)/.. -I.. $(CCMODE) $(CXFLAGS)

SRCS=	stdgets.c stdopen.c stdprintf.c stdscanf.c stdsprintf.c stdvbuf.c \
	stdputc.c stdgetc.c
OBJS=	stdgets.o stdopen.o stdprintf.o stdscanf.o stdsprintf.o stdvbuf.o \
	stdputc.o stdgetc.o

.c.o:
	$(CC) -c $(CCFLAGS) $<

must:	$(OBJS)

clean:
	-(rm $(OBJS); exit 0) >/dev/null 2>&1
