# UNIX makefile for (partial) C portability library    SRMc   11-Nov-91

CC = gcc -g -Wall
CFLAGS = -O -DUNIX -DSYS_V

OBJS = fgetss.o getopt.o matchbegin.o rstcmp.o sindex.o \
       stcmp.o strlwr.o strpos.o ufopen.o zapnl.o 

libcport.a: $(OBJS)
	ar rc libcport.a $(OBJS)

fgetss.o:     fgetss.c
getopt.o:     getopt.c
matchbegin.o: matchbegin.c
rstcmp.o:     rstcmp.c
sindex.o:     sindex.c
stcmp.o:      stcmp.c
strlwr.o:     strlwr.c
strpos.o:     strpos.c
ufopen.o:     ufopen.c
zapnl.o:      zapnl.c

clean:
	rm -f *.o libcport.a
