| 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
|---|
| 2 | # Also indentation by a single tab
|
|---|
| 3 |
|
|---|
| 4 | MOSTLYCLEANFILES =
|
|---|
| 5 | lib_LTLIBRARIES =
|
|---|
| 6 | noinst_LTLIBRARIES =
|
|---|
| 7 | bin_PROGRAMS =
|
|---|
| 8 |
|
|---|
| 9 | include Actions/Makefile.am
|
|---|
| 10 | include Graph/Makefile.am
|
|---|
| 11 | include Parser/Makefile.am
|
|---|
| 12 | include RandomNumbers/Makefile.am
|
|---|
| 13 | include Shapes/Makefile.am
|
|---|
| 14 | include UIElements/Makefile.am
|
|---|
| 15 |
|
|---|
| 16 | AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
|
|---|
| 17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
|
|---|
| 18 |
|
|---|
| 19 | ATOMSOURCE = \
|
|---|
| 20 | atom.cpp \
|
|---|
| 21 | AtomicInfo.cpp \
|
|---|
| 22 | atom_atominfo.cpp \
|
|---|
| 23 | atom_bondedparticle.cpp \
|
|---|
| 24 | atom_bondedparticleinfo.cpp \
|
|---|
| 25 | atom_graphnode.cpp \
|
|---|
| 26 | atom_graphnodeinfo.cpp \
|
|---|
| 27 | atom_observable.cpp \
|
|---|
| 28 | atom_particleinfo.cpp
|
|---|
| 29 | ATOMHEADER = \
|
|---|
| 30 | atom.hpp \
|
|---|
| 31 | atom_atominfo.hpp \
|
|---|
| 32 | atom_bondedparticle.hpp \
|
|---|
| 33 | atom_bondedparticleinfo.hpp \
|
|---|
| 34 | atom_graphnode.hpp \
|
|---|
| 35 | atom_graphnodeinfo.hpp \
|
|---|
| 36 | atom_observable.hpp \
|
|---|
| 37 | atom_particleinfo.hpp \
|
|---|
| 38 | AtomicInfo.hpp \
|
|---|
| 39 | AtomSet.hpp
|
|---|
| 40 |
|
|---|
| 41 | ANALYSISSOURCE = \
|
|---|
| 42 | analysis_bonds.cpp \
|
|---|
| 43 | analysis_correlation.cpp
|
|---|
| 44 | ANALYSISHEADER = \
|
|---|
| 45 | analysis_bonds.hpp \
|
|---|
| 46 | analysis_correlation.hpp
|
|---|
| 47 |
|
|---|
| 48 | BONDSOURCE = \
|
|---|
| 49 | Bond/bond.cpp \
|
|---|
| 50 | Bond/GraphEdge.cpp
|
|---|
| 51 |
|
|---|
| 52 | BONDHEADER = \
|
|---|
| 53 | Bond/bond.hpp \
|
|---|
| 54 | Bond/GraphEdge.hpp
|
|---|
| 55 |
|
|---|
| 56 | DESCRIPTORSOURCE = \
|
|---|
| 57 | Descriptors/AtomDescriptor.cpp \
|
|---|
| 58 | Descriptors/AtomIdDescriptor.cpp \
|
|---|
| 59 | Descriptors/AtomOfMoleculeSelectionDescriptor.cpp \
|
|---|
| 60 | Descriptors/AtomSelectionDescriptor.cpp \
|
|---|
| 61 | Descriptors/AtomShapeDescriptor.cpp \
|
|---|
| 62 | Descriptors/AtomTypeDescriptor.cpp \
|
|---|
| 63 | Descriptors/MoleculeDescriptor.cpp \
|
|---|
| 64 | Descriptors/MoleculeFormulaDescriptor.cpp \
|
|---|
| 65 | Descriptors/MoleculeIdDescriptor.cpp \
|
|---|
| 66 | Descriptors/MoleculeNameDescriptor.cpp \
|
|---|
| 67 | Descriptors/MoleculeOfAtomSelectionDescriptor.cpp \
|
|---|
| 68 | Descriptors/MoleculeOrderDescriptor.cpp \
|
|---|
| 69 | Descriptors/MoleculePtrDescriptor.cpp \
|
|---|
| 70 | Descriptors/MoleculeSelectionDescriptor.cpp
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 | DESCRIPTORHEADER = \
|
|---|
| 74 | Descriptors/AtomDescriptor.hpp \
|
|---|
| 75 | Descriptors/AtomIdDescriptor.hpp \
|
|---|
| 76 | Descriptors/AtomOfMoleculeSelectionDescriptor.hpp \
|
|---|
| 77 | Descriptors/AtomSelectionDescriptor.hpp \
|
|---|
| 78 | Descriptors/AtomShapeDescriptor.hpp \
|
|---|
| 79 | Descriptors/AtomTypeDescriptor.hpp \
|
|---|
| 80 | Descriptors/DescriptorBase.hpp \
|
|---|
| 81 | Descriptors/MoleculeDescriptor.hpp \
|
|---|
| 82 | Descriptors/MoleculeFormulaDescriptor.hpp \
|
|---|
| 83 | Descriptors/MoleculeIdDescriptor.hpp \
|
|---|
| 84 | Descriptors/MoleculeNameDescriptor.hpp \
|
|---|
| 85 | Descriptors/MoleculeOfAtomSelectionDescriptor.hpp \
|
|---|
| 86 | Descriptors/MoleculeOrderDescriptor.hpp \
|
|---|
| 87 | Descriptors/MoleculePtrDescriptor.hpp \
|
|---|
| 88 | Descriptors/MoleculeSelectionDescriptor.hpp \
|
|---|
| 89 | Descriptors/SelectiveIterator.hpp
|
|---|
| 90 |
|
|---|
| 91 | DESCRIPTORIMPLHEADER = \
|
|---|
| 92 | Descriptors/AtomDescriptor_impl.hpp \
|
|---|
| 93 | Descriptors/AtomIdDescriptor_impl.hpp \
|
|---|
| 94 | Descriptors/AtomOfMoleculeSelectionDescriptor_impl.hpp \
|
|---|
| 95 | Descriptors/AtomSelectionDescriptor_impl.hpp \
|
|---|
| 96 | Descriptors/AtomShapeDescriptor_impl.hpp \
|
|---|
| 97 | Descriptors/AtomTypeDescriptor_impl.hpp \
|
|---|
| 98 | Descriptors/DescriptorBase_impl.hpp \
|
|---|
| 99 | Descriptors/MoleculeDescriptor_impl.hpp \
|
|---|
| 100 | Descriptors/MoleculeFormulaDescriptor_impl.hpp \
|
|---|
| 101 | Descriptors/MoleculeIdDescriptor_impl.hpp \
|
|---|
| 102 | Descriptors/MoleculeNameDescriptor_impl.hpp \
|
|---|
| 103 | Descriptors/MoleculeOfAtomSelectionDescriptor_impl.hpp \
|
|---|
| 104 | Descriptors/MoleculeOrderDescriptor_impl.hpp \
|
|---|
| 105 | Descriptors/MoleculePtrDescriptor_impl.hpp \
|
|---|
| 106 | Descriptors/MoleculeSelectionDescriptor_impl.hpp \
|
|---|
| 107 | Descriptors/SelectiveIterator_impl.hpp
|
|---|
| 108 |
|
|---|
| 109 | DYNAMICSSOURCE = \
|
|---|
| 110 | Dynamics/MinimiseConstrainedPotential.cpp
|
|---|
| 111 |
|
|---|
| 112 | DYNAMICSHEADER = \
|
|---|
| 113 | Dynamics/LinearInterpolationBetweenSteps.hpp \
|
|---|
| 114 | Dynamics/MinimiseConstrainedPotential.hpp \
|
|---|
| 115 | Dynamics/OutputTemperature.hpp \
|
|---|
| 116 | Dynamics/VerletForceIntegration.hpp
|
|---|
| 117 |
|
|---|
| 118 | HELPERSSOURCE = \
|
|---|
| 119 | Helpers/defs.cpp
|
|---|
| 120 |
|
|---|
| 121 | HELPERSHEADER = \
|
|---|
| 122 | Helpers/defs.hpp \
|
|---|
| 123 | Helpers/helpers.hpp
|
|---|
| 124 |
|
|---|
| 125 | THERMOSTATSOURCE = \
|
|---|
| 126 | Thermostats/Berendsen.cpp \
|
|---|
| 127 | Thermostats/GaussianThermostat.cpp \
|
|---|
| 128 | Thermostats/Langevin.cpp \
|
|---|
| 129 | Thermostats/NoseHoover.cpp \
|
|---|
| 130 | Thermostats/NoThermostat.cpp \
|
|---|
| 131 | Thermostats/Thermostat.cpp \
|
|---|
| 132 | Thermostats/Woodcock.cpp
|
|---|
| 133 |
|
|---|
| 134 | THERMOSTATHEADER = \
|
|---|
| 135 | Thermostats/Berendsen.hpp \
|
|---|
| 136 | Thermostats/GaussianThermostat.hpp \
|
|---|
| 137 | Thermostats/Langevin.hpp \
|
|---|
| 138 | Thermostats/NoseHoover.hpp \
|
|---|
| 139 | Thermostats/NoThermostat.hpp \
|
|---|
| 140 | Thermostats/Thermostat.hpp \
|
|---|
| 141 | Thermostats/Woodcock.hpp
|
|---|
| 142 |
|
|---|
| 143 | TESSELATIONSOURCE = \
|
|---|
| 144 | BoundaryLineSet.cpp \
|
|---|
| 145 | BoundaryPointSet.cpp \
|
|---|
| 146 | BoundaryPolygonSet.cpp \
|
|---|
| 147 | BoundaryTriangleSet.cpp \
|
|---|
| 148 | CandidateForTesselation.cpp \
|
|---|
| 149 | tesselation.cpp \
|
|---|
| 150 | tesselationhelpers.cpp \
|
|---|
| 151 | TesselPoint.cpp
|
|---|
| 152 |
|
|---|
| 153 | TESSELATIONHEADER = \
|
|---|
| 154 | BoundaryLineSet.hpp \
|
|---|
| 155 | BoundaryMaps.hpp \
|
|---|
| 156 | BoundaryPointSet.hpp \
|
|---|
| 157 | BoundaryPolygonSet.hpp \
|
|---|
| 158 | BoundaryTriangleSet.hpp \
|
|---|
| 159 | CandidateForTesselation.hpp \
|
|---|
| 160 | IPointCloud.hpp \
|
|---|
| 161 | PointCloudAdaptor.hpp \
|
|---|
| 162 | tesselation.hpp \
|
|---|
| 163 | tesselationhelpers.hpp \
|
|---|
| 164 | TesselPoint.hpp
|
|---|
| 165 |
|
|---|
| 166 | MOLECUILDERSOURCE = \
|
|---|
| 167 | ${ANALYSISSOURCE} \
|
|---|
| 168 | ${ATOMSOURCE} \
|
|---|
| 169 | ${BONDSOURCE} \
|
|---|
| 170 | ${DESCRIPTORSOURCE} \
|
|---|
| 171 | ${DYNAMICSSOURCE} \
|
|---|
| 172 | ${HELPERSSOURCE} \
|
|---|
| 173 | ${THERMOSTATSOURCE} \
|
|---|
| 174 | ${TESSELATIONSOURCE} \
|
|---|
| 175 | boundary.cpp \
|
|---|
| 176 | Box.cpp \
|
|---|
| 177 | config.cpp \
|
|---|
| 178 | ConfigFileBuffer.cpp \
|
|---|
| 179 | element.cpp \
|
|---|
| 180 | elements_db.cpp \
|
|---|
| 181 | ellipsoid.cpp \
|
|---|
| 182 | Formula.cpp \
|
|---|
| 183 | graph.cpp \
|
|---|
| 184 | linkedcell.cpp \
|
|---|
| 185 | moleculelist.cpp \
|
|---|
| 186 | molecule.cpp \
|
|---|
| 187 | molecule_fragmentation.cpp \
|
|---|
| 188 | molecule_geometry.cpp \
|
|---|
| 189 | molecule_graph.cpp \
|
|---|
| 190 | parser.cpp \
|
|---|
| 191 | periodentafel.cpp \
|
|---|
| 192 | ThermoStatContainer.cpp \
|
|---|
| 193 | triangleintersectionlist.cpp \
|
|---|
| 194 | UIElements/UIFactory.cpp \
|
|---|
| 195 | version.c \
|
|---|
| 196 | World.cpp \
|
|---|
| 197 | WorldTime.cpp
|
|---|
| 198 |
|
|---|
| 199 | MOLECUILDERHEADER = \
|
|---|
| 200 | ${ANALYSISHEADER} \
|
|---|
| 201 | ${ATOMHEADER} \
|
|---|
| 202 | ${BONDHEADER} \
|
|---|
| 203 | ${DESCRIPTORHEADER} \
|
|---|
| 204 | ${DESCRIPTORIMPLHEADER} \
|
|---|
| 205 | ${DYNAMICSHEADER} \
|
|---|
| 206 | ${HELPERSHEADER} \
|
|---|
| 207 | ${THERMOSTATHEADER} \
|
|---|
| 208 | ${TESSELATIONHEADER} \
|
|---|
| 209 | boundary.hpp \
|
|---|
| 210 | Box.hpp \
|
|---|
| 211 | config.hpp \
|
|---|
| 212 | ConfigFileBuffer.hpp \
|
|---|
| 213 | element.hpp \
|
|---|
| 214 | elements_db.hpp \
|
|---|
| 215 | ellipsoid.hpp \
|
|---|
| 216 | Formula.hpp \
|
|---|
| 217 | graph.hpp \
|
|---|
| 218 | linkedcell.hpp \
|
|---|
| 219 | molecule.hpp \
|
|---|
| 220 | parser.hpp \
|
|---|
| 221 | periodentafel.hpp \
|
|---|
| 222 | ThermoStatContainer.hpp \
|
|---|
| 223 | triangleintersectionlist.hpp \
|
|---|
| 224 | types.hpp \
|
|---|
| 225 | UIElements/UIFactory.hpp \
|
|---|
| 226 | version.h \
|
|---|
| 227 | World.hpp \
|
|---|
| 228 | World_calculations.hpp \
|
|---|
| 229 | WorldTime.hpp
|
|---|
| 230 |
|
|---|
| 231 | noinst_LTLIBRARIES += libMolecuilder.la
|
|---|
| 232 | libMolecuilder_la_includedir = $(includedir)/MoleCuilder/
|
|---|
| 233 |
|
|---|
| 234 | nobase_libMolecuilder_la_include_HEADERS = ${MOLECUILDERHEADER}
|
|---|
| 235 |
|
|---|
| 236 | ## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
|
|---|
| 237 | ## target. Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
|
|---|
| 238 | ## will therefore be treated as if it were literally part of the target name,
|
|---|
| 239 | ## and the variable name derived from that.
|
|---|
| 240 | ## The file extension .cc is recognized by Automake, and makes it produce
|
|---|
| 241 | ## rules which invoke the C++ compiler to produce a libtool object file (.lo)
|
|---|
| 242 | ## from each source file. Note that it is not necessary to list header files
|
|---|
| 243 | ## which are already listed elsewhere in a _HEADERS variable assignment.
|
|---|
| 244 | libMolecuilder_la_SOURCES = ${MOLECUILDERSOURCE}
|
|---|
| 245 |
|
|---|
| 246 | ## Instruct libtool to include ABI version information in the generated shared
|
|---|
| 247 | ## library file (.so). The library ABI version is defined in configure.ac, so
|
|---|
| 248 | ## that all version information is kept in one place.
|
|---|
| 249 | #libMolecuilder_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
|
|---|
| 250 |
|
|---|
| 251 | ## The generated configuration header is installed in its own subdirectory of
|
|---|
| 252 | ## $(libdir). The reason for this is that the configuration information put
|
|---|
| 253 | ## into this header file describes the target platform the installed library
|
|---|
| 254 | ## has been built for. Thus the file must not be installed into a location
|
|---|
| 255 | ## intended for architecture-independent files, as defined by the Filesystem
|
|---|
| 256 | ## Hierarchy Standard (FHS).
|
|---|
| 257 | ## The nodist_ prefix instructs Automake to not generate rules for including
|
|---|
| 258 | ## the listed files in the distribution on 'make dist'. Files that are listed
|
|---|
| 259 | ## in _HEADERS variables are normally included in the distribution, but the
|
|---|
| 260 | ## configuration header file is generated at configure time and should not be
|
|---|
| 261 | ## shipped with the source tarball.
|
|---|
| 262 | libMolecuilder_la_libincludedir = $(libdir)/MoleCuilder/include
|
|---|
| 263 | nodist_libMolecuilder_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
|---|
| 264 |
|
|---|
| 265 | ## Install the generated pkg-config file (.pc) into the expected location for
|
|---|
| 266 | ## architecture-dependent package configuration information. Occasionally,
|
|---|
| 267 | ## pkg-config files are also used for architecture-independent data packages,
|
|---|
| 268 | ## in which case the correct install location would be $(datadir)/pkgconfig.
|
|---|
| 269 | pkgconfigdir = $(libdir)/pkgconfig
|
|---|
| 270 | pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
|
|---|
| 271 |
|
|---|
| 272 |
|
|---|
| 273 | INCLUDES = -I$(top_srcdir)/src/unittests -I$(top_srcdir)/src/Actions -I$(top_srcdir)/src/UIElements -I$(top_srcdir)/LinearAlgebra/src
|
|---|
| 274 |
|
|---|
| 275 | noinst_LIBRARIES = libmenu.a
|
|---|
| 276 | bin_PROGRAMS += molecuilder molecuildergui joiner analyzer
|
|---|
| 277 | EXTRA_PROGRAMS = unity
|
|---|
| 278 |
|
|---|
| 279 | molecuilderdir = ${bindir}
|
|---|
| 280 |
|
|---|
| 281 | libmenu_a_SOURCES = ${UISOURCE} ${UIHEADER}
|
|---|
| 282 |
|
|---|
| 283 | molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
|
|---|
| 284 |
|
|---|
| 285 | molecuilder_CXXFLAGS = $(AM_CPPFLAGS)
|
|---|
| 286 | #molecuilder_CXXFLAGS += -DNO_CACHING
|
|---|
| 287 | molecuilder_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
|---|
| 288 | molecuilder_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
|
|---|
| 289 | molecuilder_LDADD = \
|
|---|
| 290 | libMolecuilderUI.la \
|
|---|
| 291 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 292 | ${CodePatterns_LIBS} \
|
|---|
| 293 | $(BOOST_THREAD_LIBS) \
|
|---|
| 294 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 295 | $(BOOST_RANDOM_LIBS) \
|
|---|
| 296 | $(BOOST_SYSTEM_LIBS) \
|
|---|
| 297 | $(BOOST_FILESYSTEM_LIBS)
|
|---|
| 298 |
|
|---|
| 299 | #Stuff for building the GUI using Qt
|
|---|
| 300 | molecuildergui_SOURCES = builder.cpp builder_init.cpp builder_init.hpp
|
|---|
| 301 | molecuildergui_CXXFLAGS = $(AM_CPPFLAGS) -DUSE_GUI_QT
|
|---|
| 302 | molecuildergui_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
|
|---|
| 303 | molecuildergui_LDADD = \
|
|---|
| 304 | libMolecuilderQtUI.la \
|
|---|
| 305 | libMolecuilderUI.la \
|
|---|
| 306 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 307 | ${CodePatterns_LIBS} \
|
|---|
| 308 | $(BOOST_THREAD_LIBS) \
|
|---|
| 309 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 310 | $(BOOST_RANDOM_LIBS) \
|
|---|
| 311 | $(BOOST_SYSTEM_LIBS) \
|
|---|
| 312 | $(BOOST_FILESYSTEM_LIBS) \
|
|---|
| 313 | $(GUI_LIBS)
|
|---|
| 314 |
|
|---|
| 315 | joiner_SOURCES = joiner.cpp datacreator.cpp datacreator.hpp periodentafel.hpp
|
|---|
| 316 | joiner_LDADD = \
|
|---|
| 317 | libMolecuilder.la \
|
|---|
| 318 | libMolecuilderParser.la \
|
|---|
| 319 | libMolecuilderShapes.la \
|
|---|
| 320 | libMolecuilderRandomNumbers.la \
|
|---|
| 321 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 322 | ${CodePatterns_LIBS} \
|
|---|
| 323 | $(BOOST_THREAD_LIBS)
|
|---|
| 324 |
|
|---|
| 325 | analyzer_SOURCES = analyzer.cpp datacreator.cpp periodentafel.hpp datacreator.hpp
|
|---|
| 326 | analyzer_LDADD = \
|
|---|
| 327 | libMolecuilder.la \
|
|---|
| 328 | libMolecuilderParser.la \
|
|---|
| 329 | libMolecuilderShapes.la \
|
|---|
| 330 | libMolecuilderRandomNumbers.la \
|
|---|
| 331 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 332 | ${CodePatterns_LIBS} \
|
|---|
| 333 | $(BOOST_THREAD_LIBS)
|
|---|
| 334 |
|
|---|
| 335 | unity_SOURCES = unity.cpp
|
|---|
| 336 | unity_LDADD = \
|
|---|
| 337 | ${CodePatterns_LIBS} \
|
|---|
| 338 | $(BOOST_THREAD_LIBS) \
|
|---|
| 339 | $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
|---|
| 340 | $(BOOST_RANDOM_LIBS) \
|
|---|
| 341 | $(BOOST_SYSTEM_LIBS) \
|
|---|
| 342 | $(BOOST_FILESYSTEM_LIBS)
|
|---|
| 343 |
|
|---|
| 344 |
|
|---|
| 345 | FORCE:
|
|---|
| 346 | $(srcdir)/.git-version: FORCE
|
|---|
| 347 | @if (test -d $(top_srcdir)/.git && cd $(srcdir) \
|
|---|
| 348 | && { git describe --dirty --always || git describe; } ) > .git-version-t 2>/dev/null \
|
|---|
| 349 | && ! diff .git-version-t $(srcdir)/.git-version >/dev/null 2>&1; then \
|
|---|
| 350 | mv -f .git-version-t $(srcdir)/.git-version; \
|
|---|
| 351 | else \
|
|---|
| 352 | rm -f .git-version-t; \
|
|---|
| 353 | fi
|
|---|
| 354 |
|
|---|
| 355 | EXTRA_DIST = $(srcdir)/.git-version $(molecuilder_DATA)
|
|---|
| 356 |
|
|---|
| 357 | $(srcdir)/version.c: $(srcdir)/.git-version
|
|---|
| 358 | echo "const char *MOLECUILDERVERSION = \"$(PACKAGE_NAME) version "`cat $(srcdir)/.git-version`"\";" > $@
|
|---|
| 359 |
|
|---|
| 360 |
|
|---|
| 361 | unity.cpp: ${MOLECUILDERSOURCE} ${MOLECUILDERHEADER}
|
|---|
| 362 | echo "#include \"$(srcdir)/Helpers/MemDebug.cpp\"" > unity.cpp; \
|
|---|
| 363 | list='$(MOLECUILDERSOURCE)'; for file in $$list; do \
|
|---|
| 364 | echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
|
|---|
| 365 | done; \
|
|---|
| 366 | subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
|
|---|
| 367 | olddir=$$PWD;\
|
|---|
| 368 | cd $$directory && make unity.cpp;\
|
|---|
| 369 | cd $$olddir;\
|
|---|
| 370 | echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
|
|---|
| 371 | done;\
|
|---|
| 372 | echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
|
|---|
| 373 | echo "#include \"$(srcdir)/version.c\"" >> unity.cpp;
|
|---|
| 374 |
|
|---|
| 375 | MOSTLYCLEANFILES += unity.cpp
|
|---|
| 376 |
|
|---|