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


1.2
date	2001.07.18.00.38.34;	author henthorn;	state Exp;
branches;
next	1.1;

1.1
date	2001.07.11.16.02.21;	author henthorn;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Install driver into bin directory.
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for PA200LR altimeter
# Filename : Makefile
# Project  : Altex
# Archived :
##########################################################################
# Modification History:
# $Header: 
##########################################################################

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.. \
	      	-I../utils \
	      	-I../framework  \
		-I../LayeredControl \
		-I../taskIF \
		-I../Simulator \
		-I../DataLog 

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

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

OBJS	    =	PA200LR.o \
		PA200LRLog.o \
		PA200LROutput.o

TARGETS =	pa200LR

all:		$(TARGETS)

pa200LR:	_pa200LR.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _pa200LR.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 $@@

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

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

DEST	    = .

MAKEFILE    = Makefile

include       $(OBJS:.o=.d)

depend:	

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

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

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









# DO NOT DELETE THIS LINE -- make depend depends on it.
@


1.1
log
@Create altimeter driver for PA200LR instrument from Tritech.
@
text
@d63 1
@
