head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2001.08.02.02.14.45;	author hthomas;	state Exp;
branches;
next	1.1;

1.1
date	2001.08.02.02.12.28;	author hthomas;	state Exp;
branches;
next	;


desc
@@


1.2
log
@changed targets to have new in front of them
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Kearfott
# Filename : Makefile
# Author   : Hans Thomas
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /usr/local/cvs/auv/altex/onboard/newTailCone/TailconeGUI/Makefile,v 1.1 2001/08/02 02:12:28 hthomas Exp $
#
##########################################################################

CC	    = cc
CCPP	    = cc
LD	    = cc
AR 	    = wlib
DEPEND_TOOL = makedepend

AUV_BIN_DIR = ../../bin

DEBUG 	    = -g
EXCEPTION_HANDLING = -WC,-xs

## OPTIMIZE = -4 -Os
OPTIMIZE = 

## MAP_OUTPUT = -S -ms -M
MAP_OUTPUT =

CFLAGS	    = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) -D_QNX -DUNIX  
CPPFLAGS    = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) -D_QNX -DUNIX \
	         $(EXCEPTION_HANDLING)

INCLUDES    = 	-I.  \
		-I../PicServoDLL \
	      	-I../../utils \
	      	-I../../framework  \
		-I../../taskIF \
		-I../../DataLog \
		-I../../ahrs \
	      	-I/usr/include \
		-I..

LDFLAGS	    = -g
LIBPATH	    = /usr/lib:../lib

LIBS        =   ../../utils/utils.lib \
		../../framework/auvFramework.lib \
		../../DataLog/dataLog.lib \
		../../taskIF/taskInterfaces.lib \
		../../ahrs/AHRSOutput.o \
		/usr/local/lib/gctpc/geolib.a

OBJS	=	CProp.o CStepper.o TailConeDriver.o \
		../PicServoDLL/nmccom.o  \
		../PicServoDLL/picio.o \
		../PicServoDLL/picstep.o \
		../PicServoDLL/servo.o \
		../PicServoDLL/sio_util.o \
		TailConeInput.o \
		TailConeLog.o \
		TailConeOutput.o \
		TailConeServer.o

TARGETS = newTailConeServer newTailConeDriver newTailConeTest        

all:		$(TARGETS)

newTailConeServer:   _tailConeServer.o  $(OBJS) $(LIBS) Makefile
	$(LD) $(LDFLAGS) _tailConeServer.o $(OBJS) \
	$(LIBS) -o $@@

newTailConeDriver:   _tailConeDriver.o  $(OBJS) $(LIBS) Makefile
	$(LD) $(LDFLAGS) _tailConeDriver.o $(OBJS) \
	$(LIBS) -o $@@

newTailConeTest:   _tailConeTest.o  $(OBJS) $(LIBS) Makefile
	$(LD) $(LDFLAGS) _tailConeTest.o $(OBJS) \
	$(LIBS) -o $@@

install:
		cp -f $(TARGETS) $(AUV_BIN_DIR)/.

##########################################################################
# Do not modify anything below this line unless absolutely necessary

.SUFFIXES:
.SUFFIXES:	.o .c .cc .d .idl

%.d: %.c
	    @@echo Generating dependencies for $?
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@.tmp
	    @@mv $@@.tmp $@@

%.d: %.cc
	    @@echo Generating dependencies for $?
	    $(DEPEND_TOOL) $(INCLUDES) $? -f $@@.tmp
	    @@mv $@@.tmp $@@

%.d: %.cpp
	    @@echo Generating dependencies for $?
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@.tmp
	    @@mv $@@.tmp $@@

%.o: %.c 
	    $(CC) $(CFLAGS) $(INCLUDES) $< -o $@@	

%.o: %.cc
	    $(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@

%.o: %.cpp
	    $(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@

DEST	    = .

MAKEFILE    = Makefile



depend:	

clean:
	rm -f core *.o $(OBJS:.o=.d) *.yy *.tab.* $(TARGETS)

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

include       $(OBJS:.o=.d)
##########################################################################
@


1.1
log
@initial checking of new tailcone driver
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kearfott/Makefile,v 1.5 2001/07/17 22:07:18 hthomas Exp $
d70 1
a70 1
TARGETS = tailConeServer tailConeDriver tailConeTest        
d74 1
a74 1
tailConeServer:   _tailConeServer.o  $(OBJS) $(LIBS) Makefile
d78 1
a78 1
tailConeDriver:   _tailConeDriver.o  $(OBJS) $(LIBS) Makefile
d82 1
a82 1
tailConeTest:   _tailConeTest.o  $(OBJS) $(LIBS) Makefile
@
