SRCS = Region.c OBJS = $(SRCS:.c=.o) library = libXregion.a all:: $(library) $(library): $(OBJS) rm -f $(library) $(AR) $(library) $(OBJS) $(RANLIB) $(library) # followed by boilerplate.mk