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


1.2
date	99.12.14.18.55.52;	author amarsh;	state dead;
branches;
next	1.1;

1.1
date	99.12.08.16.56.23;	author pean;	state Exp;
branches;
next	;


desc
@@


1.2
log
@These files have been obsoleted by the unified KVH driver found in ../kvh
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for KVH Compass Driver
# Filename : Makefile
# Author   : Andrew Pearce
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /usr/local/cvs/auv/altex/onboard/kvhCompass/Makefile,v 1.1 1999/12/08 16:56:23 pean Exp $
#
##########################################################################

CC	    = cc
CCPP	    = cc
LD	    = cc
AR 	    = wlib
DEPEND_TOOL = /usr/altex/bin/makedepend

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../compassOutput \
	      -I../utils \
	      -I../framework \
	      -I../system \
	      -I/usr/include           

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

LIBS        =   ../utils/utils.lib \
		../framework/auvFramework.lib \
		../compassOutput/CompassOutput.o


OBJS	    =	KvhCompassDriver.o \
		KvhCompassIF_SK.o \
		KvhCompassDriver.o \
		KvhCompassServer.o \
		KvhCompassIF.o 

all:		kvhCompassServer \
		kvhCompassDriver \
		kvhCompassTest.o \
		kvhCompassDriverTest.o 

kvhCompassServer:   kvhCompassServer.o $(OBJS) $(LIBS) 

kvhCompassDriver:   kvhCompassDriver.o $(OBJS) $(LIBS) 

##########################################################################
# 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 $@@

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

%.o: %.c 
	    $(CC) $(CFLAGS) $(INCLUDES) $< -o $@@	
	    @@echo
%.o: %.cc
	    $(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@
	    @@echo

DEST	    = .

MAKEFILE    = Makefile

include       $(OBJS:.o=.d)

depend:	

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

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

##########################################################################









@


1.1
log
@Added automatic dependency generation to make and changed directory structure
to put source for each subsystem in separate subdirectory
@
text
@d14 1
a14 1
# $Header:$
@
