# fuji_mb86606.c -- Fujitsu MB86606 Linux driver Makefile
# Marc SCHAEFER <schaefer@dilog.ch>
# Creation: 28/09/97
# Update:   16/10/97
# V1.0 PV005
# DESCRIPTION
#    This makefile compiles the Fujitsu MB86606 Linux kernel SCSI
#    as a module.
# NOTES
#    - Current version is just a very simple demo version.
# BUGS
#    - Why this -m486 below ?
# TODO
# BASED-ON
#    - Took some structuration ideas and PCI detection from
#         qlogicisp.c of Linux 2.0.27
#    - Took CFLAGS and others from drivers/scsi/Makefile
# MODIFICATION-HISTORY
# $Id: Makefile,v 1.9 1997/10/16 09:14:04 schaefer Exp $

CC=gcc
# Next define had -Wstrict-prototypes -Wall 
CFLAGS=-D__KERNEL__ \
       -DMODULE \
       -I/usr/src/linux-2.0.27-development/include \
       -I. \
       -I/usr/src/linux/drivers/scsi \
       -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \
       -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 \
       -malign-functions=2 -DCPU=586

SOURCE=fuji_mb86606.c
INCLUDES=fuji_mb86606.h fuji_mb86606_private.h
TARGET=fuji_mb86606.o

all: $(TARGET)

clean:
	rm -f $(TARGET)

$(TARGET): $(SOURCE) $(INCLUDES)
	$(CC) -c $(CFLAGS) $(SOURCE)
