Develop and Download Open Source Software

Browse Subversion Repository

Contents of /rangesCtrl/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 341 - (show annotations) (download)
Tue Apr 8 10:48:51 2008 UTC (16 years, 1 month ago) by satofumi
File size: 3057 byte(s)
adjust graph
1 # Makefile for libs/rangesCtrl
2 # Satofumi KAMIMURA
3 # $Id$
4
5 # Compile options
6 CXXFLAGS = -g -O0 -Wall -Werror ${INCLUDES} `sdl-config --cflags` #-fprofile-arcs -ftest-coverage
7 INCLUDES = -I../connection -I../common -I../gui
8 LDFLAGS =
9 LDLIBS =
10
11 # Target
12 RANGES_CTRL_LIB = rangesCtrl.a
13 TARGET = ${RANGES_CTRL_LIB}
14
15 all : ${TARGET}
16
17 clean :
18 ${RM} *.o ${TARGET} allTest *.gcno *.gcov *.gcda
19 cd samples/ && ${MAKE} clean
20 cd img/ && ${MAKE} clean
21
22 test : allTest
23 ./allTest
24
25 depend :
26 makedepend -Y -- ${INCLUDES} -- ${wildcard *.h *.cpp}
27
28 .PHONY : all clean depend
29 ######################################################################
30 ${RANGES_CTRL_LIB} : \
31 ${RANGES_CTRL_LIB}(ScipHandler.o) \
32 ${RANGES_CTRL_LIB}(UrgCtrl.o) \
33 ${RANGES_CTRL_LIB}(UrgIdHandler.o) \
34 ${RANGES_CTRL_LIB}(SearchUrgPort.o) \
35 ${RANGES_CTRL_LIB}(ConvertToGrid.o) \
36 ${RANGES_CTRL_LIB}(ConvertToVector.o) \
37 ${RANGES_CTRL_LIB}(RangesDrawSurface.o) \
38 ${RANGES_CTRL_LIB}(IsUsbUrgCom.o)
39
40 allTest.o : ../unittest/allTest.cpp
41 ${CXX} ${CXXFLAGS} `cppunit-config --cflags` $< -c -o $@
42
43 REQUIRE_LIBS = ${RANGES_CTRL_LIB} ../common/common.a
44 ${REQUIRE_LIBS} :
45 cd ${@D}/ && ${MAKE} ${@F}
46 TEST_OBJS = allTest.o TestScipHandler.o ${REQUIRE_LIBS}
47 TEST_LDLIBS = -lSDL
48
49 allTest : ${TEST_OBJS}
50 ${CXX} ${CXXFLAGS} ${TEST_OBJS} -o $@ `cppunit-config --libs` ${TEST_LDLIBS}
51
52 # DO NOT DELETE
53
54 ConvertToGrid.o: ../common/GridTypes.h
55 RangesDrawSurface.o: ../gui/SurfaceInterface.h ../common/GridTypes.h
56 TestScipHandler.o: ScipHandler.h
57 UrgCtrl.o: RangeSensorInterface.h
58 UrgIdHandler.o: ../connection/ProductIdHandler.h
59 ConvertToGrid.o: ConvertToGrid.h ../common/GridTypes.h RangeSensorInterface.h
60 ConvertToGrid.o: ../common/MathUtils.h ../common/DetectOS.h
61 ConvertToVector.o: ConvertToVector.h
62 IsUsbUrgCom.o: IsUsbUrgCom.h ../common/DetectOS.h
63 RangesDrawSurface.o: RangesDrawSurface.h ../gui/SurfaceInterface.h
64 RangesDrawSurface.o: ../common/GridTypes.h RangeSensorInterface.h
65 RangesDrawSurface.o: ConvertToGrid.h ../gui/DrawPanelSurface.h
66 RangesDrawSurface.o: ../gui/PlaceOption.h ../gui/Component.h
67 RangesDrawSurface.o: ../gui/SurfaceList.h ../gui/Surface.h ../gui/GuiColors.h
68 RangesDrawSurface.o: ../common/SdlUtils.h
69 ScipHandler.o: ScipHandler.h ../connection/ConnectionInterface.h
70 ScipHandler.o: SensorParameter.h ../common/MathUtils.h ../common/DetectOS.h
71 ScipHandler.o: ../common/GetTicks.h ../common/Delay.h
72 SearchUrgPort.o: SearchUrgPort.h ../common/DetectOS.h ../common/FindFiles.h
73 TestScipHandler.o: TestScipHandler.h ScipHandler.h SensorParameter.h
74 TestScipHandler.o: ../common/MathUtils.h ../common/DetectOS.h
75 UrgCtrl.o: UrgCtrl.h RangeSensorInterface.h ../common/LockGuard.h
76 UrgCtrl.o: ../connection/SerialCtrl.h ../connection/ConnectionInterface.h
77 UrgCtrl.o: ScipHandler.h ../common/ThreadCreator.h
78 UrgCtrl.o: ../common/PointerRingBuffer.h ../common/Delay.h
79 UrgCtrl.o: ../common/DetectOS.h ../common/SearchFilePath.h
80 UrgCtrl.o: ../common/FileToArgs.h ../common/GetTicks.h
81 UrgIdHandler.o: UrgIdHandler.h ../connection/ProductIdHandler.h UrgCtrl.h
82 UrgIdHandler.o: RangeSensorInterface.h

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