mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Introduce makefile variable TRICK_SYSTEM_LDFLAGS
Like other TRICK_SYSTEM variables, users should not modify this. This renders TRICK_LDFLAGS and TRICK_USER_LINK_LIBS redundant. While we would like to eventually remove TRICK_USER_LINK_LIBS, it's not likely to ever actually happen. Refs #369
This commit is contained in:
parent
76f6a003b3
commit
7a08829d3d
@ -314,7 +314,7 @@ S_main: \$(S_MAIN) S_sie.resource
|
||||
|
||||
\$(S_MAIN): \$(TRICK_STATIC_LIB) \$(S_OBJECTS) \$(MODEL_OBJECTS)
|
||||
\t\$(PRINT_EXE_LINK)
|
||||
\t\$(ECHO_CMD)\$(TRICK_CPPC) \$(TRICK_LDFLAGS) -o \$@ \$(S_OBJECTS) \$(LINK_LISTS) \$(TRICK_USER_LINK_LIBS) \$(READ_ONLY_LIBS) \$(LD_WHOLE_ARCHIVE) \$(TRICK_LIBS) \$(LD_NO_WHOLE_ARCHIVE) \$(TRICK_EXEC_LINK_LIBS)
|
||||
\t\$(ECHO_CMD)\$(TRICK_CPPC) \$(TRICK_SYSTEM_LDFLAGS) -o \$@ \$(S_OBJECTS) \$(LINK_LISTS) \$(TRICK_LDFLAGS) \$(TRICK_USER_LINK_LIBS) \$(READ_ONLY_LIBS) \$(LD_WHOLE_ARCHIVE) \$(TRICK_LIBS) \$(LD_NO_WHOLE_ARCHIVE) \$(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
build/S_source.o: build/S_source.cpp
|
||||
\t\$(PRINT_COMPILE)
|
||||
|
@ -102,6 +102,7 @@ sub gte (@) {
|
||||
$def{"TRICK_SFLAGS"} = "" ;
|
||||
$def{"TRICK_SYSTEM_CFLAGS"} = "" ;
|
||||
$def{"TRICK_SYSTEM_CXXFLAGS"} = "" ;
|
||||
$def{"TRICK_SYSTEM_LDFLAGS"} = "" ;
|
||||
$def{"TRICK_USER_HOME"} = "$ENV{HOME}/trick_sims" ;
|
||||
$def{"TRICK_USER_CSHRC"} = "$ENV{HOME}/.Trick_user_cshrc" ;
|
||||
$def{"TRICK_USER_LINK_LIBS"} = "" ;
|
||||
|
@ -56,6 +56,7 @@ export TRICK_USER_LINK_LIBS
|
||||
export TRICK_SYSTEM_CFLAGS
|
||||
export TRICK_SYSTEM_CXXFLAGS
|
||||
export TRICK_SYSTEM_SFLAGS
|
||||
export TRICK_SYSTEM_LDFLAGS
|
||||
export SWIG_FLAGS
|
||||
|
||||
IO_SRC_DIR := io_src/
|
||||
@ -99,7 +100,7 @@ endif
|
||||
|
||||
ifeq ($(TRICK_FORCE_32BIT), 1)
|
||||
TRICK_SYSTEM_CXXFLAGS += -m32
|
||||
TRICK_LDFLAGS += -m32
|
||||
TRICK_SYSTEM_LDFLAGS += -m32
|
||||
LD_PARTIAL += -melf_i386
|
||||
endif
|
||||
|
||||
|
@ -9,7 +9,6 @@ LD_FILELIST = -filelist
|
||||
|
||||
TRICK_LIB_DIR := ${TRICK_HOME}/lib
|
||||
RPATH = -Wl,-rpath,${TRICK_LIB_DIR}
|
||||
TRICK_LDFLAGS +=
|
||||
LD_WHOLE_ARCHIVE := -Wl,-all_load
|
||||
LD_NO_WHOLE_ARCHIVE :=
|
||||
|
||||
|
@ -24,7 +24,7 @@ endif
|
||||
SHARED_LIB_OPT := -shared
|
||||
RPATH = -Wl,-rpath=${TRICK_LIB_DIR}
|
||||
|
||||
TRICK_LDFLAGS = -Wl,--export-dynamic
|
||||
TRICK_SYSTEM_LDFLAGS = -Wl,--export-dynamic
|
||||
PLATFORM_LIBS = -lrt
|
||||
|
||||
LD_WHOLE_ARCHIVE := -Wl,-whole-archive
|
||||
|
@ -4,4 +4,4 @@
|
||||
|
||||
TRICK_CFLAGS += -I./models
|
||||
TRICK_CXXFLAGS += -I./models
|
||||
|
||||
TRICK_USER_LINK_LIBS += alslaksdalj
|
||||
|
@ -48,17 +48,17 @@ GetTimeOfDayClock_test.o : GetTimeOfDayClock_test.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
GetTimeOfDayClock_test : ${GETTIMEOFDAY_CLOCK_OBJECTS}
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ ${LIBS}
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ ${LIBS}
|
||||
|
||||
TPROCTEClock_test.o : TPROCTEClock_test.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
TPROCTEClock_test : ${TPROCTE_CLOCK_OBJECTS}
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ ${LIBS}
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ ${LIBS}
|
||||
|
||||
BC635Clock_test.o : BC635Clock_test.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
BC635Clock_test : ${BC635_CLOCK_OBJECTS}
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ ${LIBS}
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ ${LIBS}
|
||||
|
||||
|
@ -34,5 +34,5 @@ Executive_test.o : Executive_test.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
Executive_test : Executive_test.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
|
@ -50,5 +50,5 @@ Integrator_unittest.o : Integrator_unittest.cc
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
Integrator_unittest : Integrator_unittest.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
|
||||
|
||||
#COVERAGE_FLAGS += -fprofile-arcs -ftest-coverage -O0
|
||||
#TRICK_LDFLAGS += ${COVERAGE_FLAGS}
|
||||
#TRICK_SYSTEM_LDFLAGS += ${COVERAGE_FLAGS}
|
||||
|
||||
# Flags passed to the preprocessor.
|
||||
TRICK_CPPFLAGS += -I$(GTEST_HOME)/include -I$(TRICK_HOME)/include -g -Wall -Wextra ${COVERAGE_FLAGS} -std=c++11
|
||||
@ -164,56 +164,56 @@ Bitfield_tests.o : Bitfield_tests.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
MM_creation_unittest : MM_creation_unittest.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_declare_var_unittest : MM_declare_var_unittest.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_declare_var_2_unittest : MM_declare_var_2_unittest.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_declare_extern_var_unittest : MM_declare_extern_var_unittest.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_delete_var_unittest : MM_delete_var_unittest.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_ref_attributes_unittest : MM_ref_attributes_unittest.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_resize_array_unittest : MM_resize_array_unittest.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_strdup_unittest : MM_strdup_unittest.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_write_var_unittest : MM_write_var_unittest.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_sizeof_type_unittest : MM_sizeof_type_unittest.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_read_checkpoint : MM_read_checkpoint.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_clear_var_unittest : MM_clear_var_unittest.o io_MM_user_defined_types.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_alloc_deps : MM_alloc_deps.o io_MM_alloc_deps.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_write_checkpoint : MM_write_checkpoint.o io_MM_write_checkpoint.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_get_enumerated : MM_get_enumerated.o io_MM_get_enumerated.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_ref_name_from_address : MM_ref_name_from_address.o io_MM_ref_name_from_address.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MM_write_checkpoint_hexfloat : MM_write_checkpoint_hexfloat.o io_MM_write_checkpoint.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
Bitfield_tests : Bitfield_tests.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
|
@ -37,10 +37,10 @@ MonteCarlo_test.o : MonteCarlo_test.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CXXFLAGS) $(TRICK_SYSTEM_CXXFLAGS) -c $<
|
||||
|
||||
MonteCarlo_test : MonteCarlo_test.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
MonteCarlo_exceptions.o : MonteCarlo_exceptions.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CXXFLAGS) $(TRICK_SYSTEM_CXXFLAGS) -c $<
|
||||
|
||||
MonteCarlo_exceptions : MonteCarlo_exceptions.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
@ -33,5 +33,5 @@ ScheduledJobQueue_test.o : ScheduledJobQueue_test.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
ScheduledJobQueue_test : ScheduledJobQueue_test.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
|
@ -33,5 +33,5 @@ ITimer_test.o : ITimer_test.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
ITimer_test : ITimer_test.o
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) $(TRICK_LIBS) $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
|
@ -33,4 +33,4 @@ UnitTestEulerQuat.o : UnitTestEulerQuat.cpp
|
||||
|
||||
UnitTestEulerQuat : UnitTestEulerQuat.o
|
||||
@echo 'Building UnitTestEulerQuat'
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
@ -37,19 +37,19 @@ UnitTestSuite.o : UnitTestSuite.cpp
|
||||
|
||||
UnitTestSuite : UnitTestSuite.o
|
||||
@echo 'Building UnitTestSuite'
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
UnitConvTestSuite.o : UnitConvTestSuite.cpp
|
||||
$(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
UnitConvTestSuite : UnitConvTestSuite.o
|
||||
@echo 'Building UnitConvTestSuite'
|
||||
$(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
$(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
#TestSuite3.o : UnitTestSuite3.cpp
|
||||
# $(TRICK_CPPC) $(TRICK_CPPFLAGS) -c $<
|
||||
|
||||
#UnitTestSuite3 : UnitTestSuite3.o
|
||||
# echo "GTEST_HOME = " ${GTEST_HOME}
|
||||
# $(TRICK_CPPC) $(TRICK_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
# $(TRICK_CPPC) $(TRICK_SYSTEM_LDFLAGS) -o $@ $^ $(OTHER_OBJECTS) -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} $(TRICK_LIBS) $(TRICK_EXEC_LINK_LIBS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user