[GDB] Obey flow control when GDB connects.
[people/mdeck/gpxe.git] / contrib / smc9462tx-flash / Makefile
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
5
6 all: dp83820flash.o dp83820_write
7
8 CFLAGS+=-O2 -Wall -fomit-frame-pointer -fno-strength-reduce
9 CFLAGS+=$(KERNELSTYLE) $(CDEBUG) $(INCLUDE_DIR)
10
11 install:
12
13 dp83820flash.o: dp83820flash.c
14         $(GCC) dp83820flash.c -o dp83820flash.o -c $(CFLAGS)
15
16 dp83820_write: dp83820_write.c
17         $(GCC) $< -o $@ -Wall -O2
18
19 clean: 
20         $(RM) *.o dp83820_write