
# programs
CC     = @CC@
AR     = ar
RANLIB = @RANLIB@

srcdir      = @srcdir@
VPATH       = @srcdir@

# options
LOCAL_INC     = -I$(srcdir)
LOCAL_LIBS    = 
LOCAL_OPTIONS = 

CFLAGS     = @CFLAGS@
ALL_CFLAGS = $(CFLAGS) $(LOCAL_INC) $(LOCAL_OPTIONS) @DEFS@

LDFLAGS    = @LDFLAGS@

LIBS       = $(LOCAL_LIBS) @LIBS@


OBJS = \
        regerror.o \
        regexp.o \
        regsub.o


all: libregexp.a

libregexp.a:$(OBJS)
	$(AR) cru libregexp.a $(OBJS)
	$(RANLIB) libregexp.a

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

# administrative rules

install:

uninstall:

clean:
	rm -f *.[oa]

distclean: clean
	rm -f Makefile
