# Makes a library in Unix (Motif)

# Clears all default suffixes
.SUFFIXES:	.o .cpp .c .cxx

.c.o :
	$(CCC) -c $(CFLAGS) -o $@ $<

.cpp.o :
	$(CC) -c $(CPPFLAGS) -o $@ $<

.cxx.o :
	$(CC) -c $(CPPFLAGS) -o $@ $<

include $(top_builddir)/src/make.env

all:    $(LIBTARGET).a

$(LIBTARGET).a : $(OBJECTS)
	ar $(AROPTIONS) $@ $(OBJECTS)
	$(RANLIB) $@

clean:
	rm -f $(OBJECTS) $(LIBTARGET).a core