# this is a UNIX Makefile.
# See the file Makefile.bcc for the Borland Makefile

SRC=expandv.c
OBJ=$(SRC:.c=.o)

#CC=gcc
CFLAGS=

AR=ar
ARFLAGS=-rc
RANLIB=ranlib

RM=rm -f


all: libvar.a

libvar.a: $(OBJ)
	$(AR) $(ARFLAGS) $@ $(OBJ)
	$(RANLIB) $@

lint:
	$(LINT) $(CFLAGS) $(SRC)

clean:
	$(RM) *~ core

realclean: clean
	$(RM) $(OBJ)

distclean: realclean
	$(RM) libvar.a
