Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

cam/Makefile

Makefile for cam object

#
# Copyright 2002 Sony Corporation 
#
# Permission to use, copy, modify, and redistribute this software for
# non-commercial use is hereby granted.
#
# This software is provided "as is" without warranty of any kind,
# either expressed or implied, including but not limited to the
# implied warranties of fitness for a particular purpose.
#

include /local/tams1.2/develop/aibo/config/Make.defaults


INCLUDEPATH += -I$(AIBODIR)/include
LIBPATH +=  -L$(AIBODIR)/lib

LIBS = -laibo -lObjectComm -lOPENR

SRC          = CamExampleStub.cc CamExample.cc

#
# When OPENR_DEBUG is defined, OSYSDEBUG() is available.
#
CXXFLAGS+= -DOPENR_DEBUG

.PHONY: all install clean

all: AiboCam.bin

CamExampleStub.cc: stub.cfg
        $(STUBGEN) stub.cfg     

AiboCam.bin: CamExampleStub.o CamExample.o CamExample.ocf
        $(MKBIN) $(MKBINFLAGS) -o $@ $^ $(LIBPATH) $(LIBS)
        $(STRIP) $@

installlocal: AiboCam.bin
        gzip -c AiboCam.bin > $(INSTALLDIR)/OPEN-R/MW/OBJS/CAMTEST.BIN

depend: $(SRC)
        $(CC) -MM $(CFLAGS) $(INCLUDEPATH) $(SRC) > depend.aibo
        chmod -f 660 depend*

include depend.aibo


tams Tim Baier AiboLib v0.2.4
Generated Thu Jan 19 11:54:28 2006 by doxygen 1.4.3