CC = gcc
OPTIONSCOMMON = -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -I/usr/src/linux-2.4/include -fomit-frame-pointer -fno-strict-aliasing -Wno-trigraphs -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODVERSIONS  -include /usr/src/linux-2.4/include/linux/modversions.h
OPTIONSTULIP = $(OPTIONSCOMMON)
OPTIONSPCISN = $(OPTIONSCOMMON)  -DEXPORT_SYMTAB

all:
	$(CC) $(OPTIONSTULIP) -c tulip.c
	$(CC) $(OPTIONSPCISN) -c pci-scan.c

clean:
	rm -f *~ pci-scan.o tulip.o
