# /* (C) Marc SCHAEFER, 1998.
# * Parts have been done within DILOG SA
# * Released under the GPL
# */
# Makefile -- Bench I/O subsystem Makefile
# Marc SCHAEFER <schaefer@dilog.ch>
# Creation: 02/07/98
# Update:   02/07/98
# V1.0 PV001
# DESCRIPTION
#    This makefile compiles the Bench I/O kernel driver.
#    as a module.
# NOTES
# BUGS
#    - Why this -m486 below ?
# TODO
# MODIFICATION-HISTORY

CC=gcc
# Next define had -Wstrict-prototypes -Wall 
CFLAGS=-D__KERNEL__ \
       -DMODULE \
       -I/usr/src/linux/include \
       -I. \
       -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \
       -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 \
       -malign-functions=2 -DCPU=586
 
SOURCE=benchio.c
INCLUDES=
TARGET=benchio.o
 
all: $(TARGET) linear
 
clean:
	rm -f $(TARGET) linear
 
$(TARGET): $(SOURCE) $(INCLUDES)
	$(CC) -c $(CFLAGS) $(SOURCE)

linear: linear.c $(INCLUDES)
	$(CC) -Wall linear.c -o linear
