Develop and Download Open Source Software

Browse Subversion Repository

Contents of /runCtrl/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 262 - (show annotations) (download)
Mon Mar 3 00:30:25 2008 UTC (16 years, 1 month ago) by satofumi
File size: 4877 byte(s)
adjust applyInput() args
1 # Makefile for libs/runCtrl
2 # Satofumi KAMIMURA
3 # $Id$
4
5 # Compile options
6 CXXFLAGS = -g -O0 -Wall -Werror ${INCLUDES} `sdl-config --cflags`
7 INCLUDES = -I. -I../common -I../sh7045 -ItRunCtrl -I../connection -I../simulator
8 LDFLAGS =
9 LDLIBS =
10
11 # Target
12 RUN_CTRL_LIB = runCtrl.a
13 TARGET = ${RUN_CTRL_LIB}
14
15 all : ${TARGET}
16
17 clean :
18 ${RM} *.o ${TARGET} allTest errors.txt
19 cd tRunCtrl/ && ${MAKE} clean
20 cd samples/ && ${MAKE} clean
21
22 test :
23 cd ../simulator && ${MAKE} tRunCtrl_sim.a
24 ${MAKE} allTest
25 ./allTest
26
27 depend :
28 makedepend -Y -- ${INCLUDES} -- ${wildcard *.h *.cpp}
29
30 .PHONY : all clean depend
31 ######################################################################
32 ${RUN_CTRL_LIB} : \
33 ${RUN_CTRL_LIB}(RunIdHandler.o) \
34 ${RUN_CTRL_LIB}(RunCtrl.o) \
35 ${RUN_CTRL_LIB}(structUpdate.o) \
36 ${RUN_CTRL_LIB}(TransmitCtrl.o)
37
38 structUpdate.o : tRunCtrl/structUpdate.c
39 ${CXX} ${CXXFLAGS} $< -c -o $@
40
41 allTest.o : ../unittest/allTest.cpp
42 ${CXX} ${CXXFLAGS} `cppunit-config --cflags` $< -c -o $@
43
44 REQUIRE_LIBS = ${RUN_CTRL_LIB} ../simulator/tRunCtrl_sim.a ../connection/connection.a ../common/common.a
45 ${REQUIRE_LIBS} :
46 cd ${@D}/ && ${MAKE} ${@F}
47
48 TEST_OBJS = allTest.o TestRunCtrl.o TestTransmitCtrl.o ${REQUIRE_LIBS}
49 TEST_LDLIBS = `sdl-config --libs` -lSDL_net -lboost_regex
50
51 allTest : ${TEST_OBJS}
52 ${CXX} ${CXXFLAGS} ${TEST_OBJS} -o $@ `cppunit-config --libs` ${TEST_LDLIBS}
53
54 # DO NOT DELETE
55
56 FollowLineInterface.o: ../common/GridTypes.h
57 GetPositionInterface.o: ../common/GridTypes.h
58 RunCtrl.o: RunCtrlInterface.h ../common/GridTypes.h FollowLineInterface.h
59 RunCtrl.o: GetPositionInterface.h DirectWheelCtrlInterface.h
60 RunCtrlInterface.o: ../common/GridTypes.h
61 RunIdHandler.o: ../connection/ProductIdHandler.h
62 TestTransmitCtrl.o: ../simulator/tRunCtrlSimulator.h
63 TestTransmitCtrl.o: ../simulator/SimulatorInterface.h ../common/GridTypes.h
64 TestTransmitCtrl.o: tRunCtrl/structTable.h tRunCtrl/wdtHandle.h
65 TestTransmitCtrl.o: tRunCtrl/bodyCtrl.h tRunCtrl/wheelCtrl.h
66 TestTransmitCtrl.o: tRunCtrl/motorCtrl.h tRunCtrl/encoderCtrl.h
67 TestTransmitCtrl.o: tRunCtrl/modeManager.h tRunCtrl/coordinateConvert.h
68 TestTransmitCtrl.o: tRunCtrl/bodyPosition.h tRunCtrl/gridPosition.h
69 TestTransmitCtrl.o: tRunCtrl/positionCtrl.h tRunCtrl/velocityCtrl.h
70 TestTransmitCtrl.o: tRunCtrl/averageVelocity.h tRunCtrl/moving_average.h
71 TestTransmitCtrl.o: tRunCtrl/followCtrl.h tRunCtrl/directDeviceCtrl.h
72 TestTransmitCtrl.o: TransmitPacket.h ../connection/TcpipCtrl.h
73 TestTransmitCtrl.o: ../connection/ConnectionInterface.h
74 TransmitCtrl.o: TransmitPacket.h
75 RunCtrl.o: RunCtrl.h RunCtrlInterface.h ../common/GridTypes.h
76 RunCtrl.o: FollowLineInterface.h GetPositionInterface.h
77 RunCtrl.o: DirectWheelCtrlInterface.h ../connection/SerialCtrl.h
78 RunCtrl.o: ../connection/ConnectionInterface.h TransmitCtrl.h
79 RunCtrl.o: TransmitPacket.h ../common/CalculateGeometry.h
80 RunCtrl.o: ../common/MathUtils.h ../common/DetectOS.h tRunCtrl/structTable.h
81 RunCtrl.o: tRunCtrl/wdtHandle.h tRunCtrl/bodyCtrl.h tRunCtrl/wheelCtrl.h
82 RunCtrl.o: tRunCtrl/motorCtrl.h tRunCtrl/encoderCtrl.h tRunCtrl/modeManager.h
83 RunCtrl.o: tRunCtrl/coordinateConvert.h tRunCtrl/bodyPosition.h
84 RunCtrl.o: tRunCtrl/gridPosition.h tRunCtrl/positionCtrl.h
85 RunCtrl.o: tRunCtrl/velocityCtrl.h tRunCtrl/averageVelocity.h
86 RunCtrl.o: tRunCtrl/moving_average.h tRunCtrl/followCtrl.h
87 RunCtrl.o: tRunCtrl/directDeviceCtrl.h tRunCtrl/tRunCtrl.h
88 RunCtrl.o: ../common/FileToArgs.h ../common/SearchFilePath.h
89 RunIdHandler.o: RunIdHandler.h ../connection/ProductIdHandler.h RunCtrl.h
90 RunIdHandler.o: RunCtrlInterface.h ../common/GridTypes.h
91 RunIdHandler.o: FollowLineInterface.h GetPositionInterface.h
92 RunIdHandler.o: DirectWheelCtrlInterface.h
93 TestRunCtrl.o: TestRunCtrl.h RunCtrl.h RunCtrlInterface.h
94 TestRunCtrl.o: ../common/GridTypes.h FollowLineInterface.h
95 TestRunCtrl.o: GetPositionInterface.h DirectWheelCtrlInterface.h
96 TestTransmitCtrl.o: TestTransmitCtrl.h ../simulator/tRunCtrlSimulator.h
97 TestTransmitCtrl.o: ../simulator/SimulatorInterface.h ../common/GridTypes.h
98 TestTransmitCtrl.o: tRunCtrl/structTable.h tRunCtrl/wdtHandle.h
99 TestTransmitCtrl.o: tRunCtrl/bodyCtrl.h tRunCtrl/wheelCtrl.h
100 TestTransmitCtrl.o: tRunCtrl/motorCtrl.h tRunCtrl/encoderCtrl.h
101 TestTransmitCtrl.o: tRunCtrl/modeManager.h tRunCtrl/coordinateConvert.h
102 TestTransmitCtrl.o: tRunCtrl/bodyPosition.h tRunCtrl/gridPosition.h
103 TestTransmitCtrl.o: tRunCtrl/positionCtrl.h tRunCtrl/velocityCtrl.h
104 TestTransmitCtrl.o: tRunCtrl/averageVelocity.h tRunCtrl/moving_average.h
105 TestTransmitCtrl.o: tRunCtrl/followCtrl.h tRunCtrl/directDeviceCtrl.h
106 TestTransmitCtrl.o: TransmitPacket.h ../connection/TcpipCtrl.h
107 TestTransmitCtrl.o: ../connection/ConnectionInterface.h TransmitCtrl.h
108 TestTransmitCtrl.o: ../common/ThreadCreator.h tRunCtrl/transferCtrl.h
109 TestTransmitCtrl.o: ../sh7045/sci_ctrl.h
110 TransmitCtrl.o: TransmitCtrl.h TransmitPacket.h
111 TransmitCtrl.o: ../connection/ConnectionInterface.h

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26