Subversion Repositories Projects

Rev

Rev 211 | Rev 216 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
211 dhylands 1
###########################################################################
2
#
3
#	Makefile to build the bioloid command line interface
4
#
5
###########################################################################
6
 
7
MK_OS			= host
213 dhylands 8
#MK_OS           = avr
9
 
10
ifeq ($(MK_OS),avr)
11
MK_AVR_MCU      = m168
12
MK_AVR_FREQ     = 8MHz
13
endif
14
 
211 dhylands 15
MK_ELF_TARGET 	= bioloid
16
 
17
MK_SRC_FILES = \
18
	bioloid.cpp	\
19
	Log.c \
20
	BioloidBus.cpp \
21
	BioloidDevice.cpp \
22
	BioloidPacket.cpp \
213 dhylands 23
	SerialPort.cpp \
24
	SerialBus.cpp \
211 dhylands 25
	bioloid-reg.cpp \
26
	StrPrintf.c \
27
	BioloidCommandLine.cpp \
28
	bioloid-reg.c \
29
	bioloid-reg-servo.c \
213 dhylands 30
	DumpMem.c \
31
	Str.c \
211 dhylands 32
	StrToken.cpp
33
 
213 dhylands 34
ifeq ($(MK_OS),avr)
35
MK_SRC_FILES += c++-support.cpp
36
endif
37
 
211 dhylands 38
#CFLAGS += $(OPTS)
39
#CXXFLAGS += $(OPTS)
40
 
213 dhylands 41
#LDLIBS += -lpthread
211 dhylands 42
 
43
include ../../rules/mkRules.mk
44