# Makefile for util (utility library used by contrack_gen) # include ../Makefile.definitions OUTPUT_DIR = . CFLAGS += -O $(RAPID_INCLUDE_PATH) -I../nifti -I. $(CFLAGS_ALL) SRCS = DTITractParamsFile.cpp DTIVolumeIO.cpp \ DTIRandomSeedGenerator.cpp DTIRandomSeedGeneratorMask.cpp \ DTIPathwayInterface.cpp DTIPathway.cpp DTIPathwayFactory.cpp \ DTIPathwayDatabase.cpp DTIPathwayIO.cpp DTIStats.cpp DTIMath.cpp dcdf.cpp \ DTITrackingData.cpp DTIFilterTree.cpp FunctionNodes.cpp FunctionParser.cpp \ DTIFilterVOI.cpp DTIFilter.cpp DTIPathwaySelection.cpp \ DTIPathwayIntersectionVolume.cpp ui_utils.cpp OBJS = $(SRCS:%.cpp=%.o) TARGET = $(OUTPUT_DIR)/libutil.a default: $(TARGET) $(TARGET) : ${OBJS} ${RM} $@ ${AR} ${OBJS} .cpp.o: $*.cpp Makefile $(CPP) $(CFLAGS) -c $*.cpp -o $*.o clean: rm -rf $(TARGET) rm -rf $(OBJS) depend: makedepend -f- -- $(CFLAGS) -- $(SRCS) > Makefile.dependencies ifeq ($(wildcard Makefile.dependencies),Makefile.dependencies) include Makefile.dependencies else # do nothing endif