mirror of
https://github.com/nasa/trick.git
synced 2024-12-30 09:58:53 +00:00
b3d1a1d162
Well sims compiled, but I forgot to test if Trick itself would compile. It didn't. Added TRICK_SYSTEM_CFLAGS and TRICK_SYSTEM_CXXFLAGS where needed. refs #90
18 lines
555 B
Makefile
18 lines
555 B
Makefile
|
|
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models
|
|
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models
|
|
|
|
S_main: tc_server tc_client
|
|
tc_server: tc_server.c
|
|
${TRICK_CC} ${TRICK_CFLAGS} ${TRICK_SYSTEM_CFLAGS} -I${TRICK_HOME}/trick_source -o $@ $< -L${TRICK_LIB_DIR} -ltrick_comm ${TRICK_EXEC_LINK_LIBS}
|
|
|
|
tc_client: tc_client.c
|
|
${TRICK_CC} ${TRICK_CFLAGS} ${TRICK_SYSTEM_CFLAGS} -I${TRICK_HOME}/trick_source -o $@ $< -L${TRICK_LIB_DIR} -ltrick_comm ${TRICK_EXEC_LINK_LIBS}
|
|
|
|
clean: clean_tc_apps
|
|
spotless: clean_tc_apps
|
|
|
|
clean_tc_apps:
|
|
${RM} -rf tc_server tc_client
|
|
|