# $Id: Makefile,v 1.1 2004/07/08 20:03:16 alpha Exp $
#
# Copyright (c) 1999-2004 Darius Rad
#
# This file is part of the OpenOtto project.
#
# OpenOtto is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#


include ../../Rules.mk

CPPFLAGS += -I../../include

TARGET=ottotest

default: ottotest

#ottotest: ottotest.c ../lib/libobd2.o ../drivers/uart_serial.o
ottotest: ottotest.c ../lib/device.c ../drivers/uart_serial.c ../lib/packet.c ../drivers/dummy.c
	$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $^

lint:
	$(LINT) $(LINTFLAGS) *.c

clean:
	$(RM) ottotest.o ottotest

distclean: clean
