| 1 | # ---------------------------------------
|
|---|
| 2 | # Common
|
|---|
| 3 |
|
|---|
| 4 | bin_PROGRAMS += mol_test_debug
|
|---|
| 5 | mol_test_debug_exe : mol_test_debug$(EXEEXT) # for IDE
|
|---|
| 6 |
|
|---|
| 7 | mol_test_debug_CXXFLAGS_DEFAULT = -Igch/mol_test_debug \
|
|---|
| 8 | $(PTHREAD_CFLAGS) $(BOOST_CPPFLAGS) \
|
|---|
| 9 | -I${top_srcdir}/src/mol/include \
|
|---|
| 10 | -Winvalid-pch \
|
|---|
| 11 | -fno-operator-names -Wall -g -pg \
|
|---|
| 12 | -fprofile-arcs -ftest-coverage
|
|---|
| 13 |
|
|---|
| 14 | #
|
|---|
| 15 | # Precompiled Headers
|
|---|
| 16 | #
|
|---|
| 17 |
|
|---|
| 18 | #CLEANFILES += gch/mol_test_debug/mol/PrecompiledHeaders.h.gch
|
|---|
| 19 | gch_files += gch/mol_test_debug/mol/PrecompiledHeaders.h.gch
|
|---|
| 20 | gch/mol_test_debug/mol/PrecompiledHeaders.h.gch: \
|
|---|
| 21 | ${top_srcdir}/src/mol/include/mol/PrecompiledHeaders.h \
|
|---|
| 22 | ${top_srcdir}/src/mol/include/mol/os-windows/PrecompiledHeaders.h \
|
|---|
| 23 | ${top_srcdir}/src/mol/include/mol/os-posix/PrecompiledHeaders.h \
|
|---|
| 24 | ${top_srcdir}/src/mol/include/mol/gui-windows/PrecompiledHeaders.h \
|
|---|
| 25 | ${top_srcdir}/src/mol/include/mol/gui-qt/PrecompiledHeaders.h
|
|---|
| 26 |
|
|---|
| 27 | $(MKDIR_P) gch/mol_test_debug/mol
|
|---|
| 28 | $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|---|
| 29 | $(AM_CPPFLAGS) $(CPPFLAGS) $(mol_test_debug_CXXFLAGS) \
|
|---|
| 30 | $(CXXFLAGS) ${top_srcdir}/src/mol/include/mol/PrecompiledHeaders.h \
|
|---|
| 31 | -o gch/mol_test_debug/mol/PrecompiledHeaders.h.gch
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | if WITH_GUI_WINDOWS
|
|---|
| 35 | # ---------------------------------------
|
|---|
| 36 | # Windows
|
|---|
| 37 |
|
|---|
| 38 | mol_test_debug_SOURCES = $(mol_test_SOURCES)
|
|---|
| 39 | mol_test_debug_CXXFLAGS = $(mol_test_debug_CXXFLAGS_DEFAULT)
|
|---|
| 40 | mol_test_debug_LDADD = $(mol_test_LDADD)
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 | else
|
|---|
| 44 | # ---------------------------------------
|
|---|
| 45 | # Posix
|
|---|
| 46 | mol_test_debug_SOURCES = $(mol_test_SOURCES)
|
|---|
| 47 | mol_test_debug_CXXFLAGS = $(mol_test_debug_CXXFLAGS_DEFAULT)
|
|---|
| 48 | mol_test_debug_LDADD = $(mol_test_LDADD)
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | endif
|
|---|