# # Makefile for the com_err library # OBJECTS = com_err.o error_message.o et_name.o init_et.o CFLAGS = -Wall -O2 $(PIC_FLAG) all: ../libcom_err.a ../libcom_err.a: $(OBJECTS) ar r ../libcom_err.a $(OBJECTS) dep: $(CPP) -M $(INCLUDES) *.c > .depend clean: rm -f *.o ../libcom_err.a mrproper: clean rm -f .depend # # include a dependency file if one exists # ifeq (.depend,$(wildcard .depend)) include .depend endif