[release] Update version information for 0.9.4 release
[gpxe.git] / contrib / smc9462tx-flash / Makefile
blobdc5b3ff8ad796f1355abd5da2eb0c19b90c5a3c8
1 GCC = gcc
2 KERNELDIR = ../linux-2.4.20
3 KERNELSTYLE=-D__KERNEL__ -DCPU=__i386__ -DMODULE
4 INCLUDE_DIR=-I$(KERNELDIR)/include -I../include -I$(ROOTDIR)/include
6 all: dp83820flash.o dp83820_write
8 CFLAGS+=-O2 -Wall -fomit-frame-pointer -fno-strength-reduce
9 CFLAGS+=$(KERNELSTYLE) $(CDEBUG) $(INCLUDE_DIR)
11 install:
13 dp83820flash.o: dp83820flash.c
14 $(GCC) dp83820flash.c -o dp83820flash.o -c $(CFLAGS)
16 dp83820_write: dp83820_write.c
17 $(GCC) $< -o $@ -Wall -O2
19 clean:
20 $(RM) *.o dp83820_write