# -------------------------------------------------------------------------- # # CAMPAIGN(tm) # # -------------------------------------------------------------------------- # # This is part of the CAMPAIGN data clustering library originating from # # Simbios, the NIH National Center for Physics-Based Simulation of # # Biological Structures at Stanford, funded under the NIH Roadmap for # # Medical Research, grant U54 GM072970, and the FEATURE project at Stanford, # # funded under the NIH grant LM05652. See https://simtk.org and # # http://feature.stanford.edu/index.php # # # # Portions copyright (c) 2010 Stanford University, Authors and Contributors # # Authors: Marc Sosnick # # Contributors: Kai J. Kolhoff, William Hsu # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # # to deal with the Software limited to the rights to use, copy, modify, merge# # and publish. No redistribution, licensing or commercialization # # is allowed without written permission. # # # # Software is furnished subject to the following conditions: # # # # The above copyright notice and this permission notice shall be included in # # all copies or substantial portions of the Software. # # # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # # THE AUTHORS, CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, # # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR # # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE # # USE OR OTHER DEALINGS IN THE SOFTWARE. # # -------------------------------------------------------------------------- # # $Id$ # Makefile # Makefile for the CAMPAIGN Developer Distribution # # Configuration: # See common.mk for system configuration. # You may add another directory in which to descnd and make by adding # its name to the SUBDIRS list. # # Usage: # From the command line in the dev directory, type make. The system # will descend into each directory and execute the makefile in that # directory. Make clean will remove executables, objects, and temp # files from all SUBDIRS. See README for more detailed instructions. # SUBDIRS := util \ hierarchicalCPU \ hierarchicalGPU \ kcentersCPU \ kcentersGPU \ kmeansCPU \ kmeansGPU \ kmedoidsCPU \ kmedoidsGPU \ kpsmeansGPU \ rmsdGPU \ somCPU \ somGPU all: @for dir in $(SUBDIRS); do \ echo ; \ echo Making $$dir; \ $(MAKE) -C $$dir; \ done clean: @for dir in $(SUBDIRS); do \ echo ; echo Cleaning $$dir; \ $(MAKE) -C $$dir clean; \ done distribution: cp hierarchicalCPU/hierarchicalCPU.h release/campaign cp hierarchicalCPU/hierarchicalCPU.cpp release/campaign cp hierarchicalCPU/hierarchicalCPUMain.cc release/examples/hierarchicalCPU.cc cp hierarchicalGPU/hierarchicalGPU.cu release/campaign cp hierarchicalGPU/hierarchicalGPU.h release/campaign cp hierarchicalGPU/min.cu release/campaign cp hierarchicalGPU/min.h release/campaign cp hierarchicalGPU/hierarchicalGPUMain.cc release/examples/hierarchicalGPU.cc cp kcentersCPU/kcentersCPU.h release/campaign cp kcentersCPU/kcentersCPU.cpp release/campaign cp kcentersCPU/kcentersCPUMain.cc release/examples/kcentersCPU.cc cp kcentersGPU/kcentersGPU.h release/campaign cp kcentersGPU/kcentersGPU.cu release/campaign cp kcentersGPU/kcentersGPUMain.cc release/examples/kcentersGPU.cc cp kmeansCPU/kmeansCPU.h release/campaign cp kmeansCPU/kmeansCPU.cpp release/campaign cp kmeansCPU/kmeansCPUMain.cc release/examples/kmeansCPU.cc cp kmeansGPU/kmeansGPU.h release/campaign cp kmeansGPU/kmeansGPU.cu release/campaign cp kmeansGPU/kmeansGPUMain.cc release/examples/kmeansGPU.cc cp kmedoidsCPU/kmedoidsCPU.h release/campaign cp kmedoidsCPU/kmedoidsCPU.cpp release/campaign cp kmedoidsCPU/kmedoidsCPUMain.cc release/examples/kmedoidsCPU.cc cp kmedoidsGPU/kmedoidsGPU.h release/campaign cp kmedoidsGPU/kmedoidsGPU.cu release/campaign cp kmedoidsGPU/kmedoidsGPUMain.cc release/examples/kmedoidsGPU.cc cp kpsmeansGPU/kpsmeansGPU.h release/campaign cp kpsmeansGPU/kpsmeansGPU.cu release/campaign cp kpsmeansGPU/kpsmeansGPUMain.cc release/examples/kpsmeansGPU.cc cp rmsdGPU/rmsdGPU.h release/campaign cp rmsdGPU/rmsdGPU.cu release/campaign cp rmsdGPU/rmsdGPUMain.cc release/examples/rmsdGPU.cc cp somCPU/somCPU.h release/campaign cp somCPU/somCPU.cpp release/campaign cp somCPU/somCPUMain.cc release/examples/somCPU.cc cp somGPU/somGPU.h release/campaign cp somGPU/somGPU.cu release/campaign cp somGPU/somGPUMain.cc release/examples/somGPU.cc cp util/gpudevices.h release/campaign cp util/dataio.cpp release/campaign cp util/dataio.h release/campaign cp util/defaults.cpp release/campaign cp util/defaults.h release/campaign cp util/gpudevices.cpp release/campaign cp util/metricsCPU.h release/campaign cp util/metricsGPU.h release/campaign cp util/timing.cpp release/campaign cp util/timing.h release/campaign cp util/tokens.cpp release/campaign cp util/tokens.h release/campaign cp util/index.h release/campaign