#
# Makefile for dlh5x.c
#
# Beny Chen
# beny_chen@dlink.com.tw
# D-Link
#
# Craig Rich
# Sundance Technology, Inc.
# 1485 Saratoga Avenue
# Suite 200
# San Jose, CA 95129
# 408 873 4117
# www.sundanceti.com
# crich@sundanceti.com
#
# Rev  Date     Description
# --------------------------------------------------------
# 0.1  5/27/99  Initial revision
#
# Usage: In directory containing this Makefile, and
#        st201.c file, execute the following:
#
#        make all
#

#
# Enable/disable debug messages.
#
DEBUG = N

ifeq ($(DEBUG),Y)
        DEBUGFLAGS = -O -g -DST201_DEBUG
else
        DEBUGFLAGS =
endif

#
# Define location of header (.h) files.
#
INCLUDEDIR = /usr/include

#
# Define compile.
#
CC = gcc

#
# Compiler flags:
#
# -D__KERNEL__  defines the '__KERNEL__' symbol used for masking
#               out unneeded portions of kernel headers.
#
# -DMODULE      defines the 'MODULE" symbol.
#
# -O            specifies compiler optimization to provide for
#               expansion of functions by gcc.
#
# -Wall         specifies all compiler warnings should be indicated.
#
# -Wstrict-prototypes   specifies compiler warnings should be indicated
#                       for functions defined or declared without
#                       argument types.
#
# -I$(INCLUDEDIR) specifies location of header files using variable
#               defined above.
#

CFLAGS = -D__KERNEL__ -DMODULE -O -Wall -Wstrict-prototypes -I$(INCLUDEDIR) $(DEBUGFLAGS)
 


#
# Dependency to create object file.
#
all:    dlh5x.o

#
# Delete existing object files.
#
clean:  \
        rm -f *.o





