head	1.6;
access;
symbols
	Validate1:1.6
	OdysseyMatch2:1.5;
locks; strict;
comment	@# @;


1.6
date	99.12.22.23.36.37;	author rob;	state Exp;
branches;
next	1.5;

1.5
date	99.12.15.23.29.34;	author pean;	state Exp;
branches;
next	1.4;

1.4
date	99.12.15.23.18.50;	author oreilly;	state Exp;
branches;
next	1.3;

1.3
date	99.12.15.22.54.05;	author oreilly;	state Exp;
branches;
next	1.2;

1.2
date	99.12.15.20.27.18;	author oreilly;	state Exp;
branches;
next	1.1;

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


desc
@@


1.6
log
@Changed $(OBJS) to *.o in the "make clean".
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Dynamic Control
# 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/DynamicControl/Makefile,v 1.5 1999/12/15 23:29:34 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 =

AUV_BIN_DIR = ../bin

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

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

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

LIBS        =   ../utils/utils.lib \
		../framework/auvFramework.lib \
		../DataLog/dataLog.lib \
		../taskIF/taskInterfaces.lib

OBJS	    =	DynamicControl.o \
		DynamicControlInput.o \
		DynamicControlOutput.o \
		DynamicControlServer.o \
		DynamicControlLog.o

all:		dynamicControl dynamicControlServer

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

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

install:
		cp -f dynamicControl 		$(AUV_BIN_DIR)/. 
		cp -f dynamicControlServer 	$(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 $@@

%.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 *.o $(OBJS:.o=.d) *.lib *.yy *.tab.* 

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

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









@


1.5
log
@Fixed Tom's mistake - circular dependency
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/DynamicControl/Makefile,v 1.4 1999/12/15 23:18:50 oreilly Exp $
d102 1
a102 1
	rm -f core $(OBJS) $(OBJS:.o=.d) *.lib *.yy *.tab.* 
@


1.4
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/DynamicControl/Makefile,v 1.3 1999/12/15 22:54:05 oreilly Exp $
d39 7
a45 7
INCLUDES    = -I.  \
	      -I.. \
	      -I../utils \
	      -I../framework \
	      -I../DataLog \
	      -I../taskIF \
	      -I/usr/include           
d47 2
a48 2
LDFLAGS	    = -g
LIBPATH	    = /usr/lib:../lib
d63 1
a63 1
dynamicControl:  dynamicControl.o $(OBJS) $(LIBS) 
d65 1
a65 1
dynamicControlServer:  dynamicControlServer.o $(OBJS) $(LIBS) 
@


1.3
log
@Added target 'install'
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/DynamicControl/Makefile,v 1.2 1999/12/15 20:27:18 oreilly Exp $
d63 1
a63 1
dynamicControl:  dynamicControl $(OBJS) $(LIBS) 
d65 1
a65 1
dynamicControlServer:  dynamicControlServer $(OBJS) $(LIBS) 
@


1.2
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/DynamicControl/Makefile,v 1.1 1999/12/14 00:14:12 pean Exp $
d33 2
d66 5
@


1.1
log
@Moved files to DynamiControl subdirectory
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kvhCompass/Makefile,v 1.1 1999/12/08 16:56:23 pean Exp $
d57 1
a57 2
		DynamicControlLog.o \
		dynamicControl.o 
d59 1
a59 1
all:		dynamicControl 
d61 3
a63 1
dynamicControl:  $(OBJS) $(LIBS) 
@
