include $(MkInclude) PKG_CFLAGS = -DDINT -I../Include -I../../UFconfig AMD = amd_aat amd_1 amd_2 amd_dump amd_postorder amd_post_tree amd_defaults \ amd_order amd_control amd_info amd_valid amd_preprocess AMDI = $(addsuffix .o, $(subst amd_,amd_i_,$(AMD))) UFCONFIG = ../../UFconfig/UFconfig.h INC = ../Include/amd.h ../Include/amd_internal.h $(UFCONFIG) LIB = ../../AMD.a lib: $(LIB) $(LIB): amd_global.o ${AMDI} $(AR) -rucs $(LIB) amd_global.o ${AMDI} amd_global.o: amd_global.c $(INC) amd_i_%.o: amd_%.c $(INC) $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -I../Include -c $< -o $@ mostlyclean: clean clean: @-rm -rf .libs _libs $(LIB) @-rm -f *.o