Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / devs / networks / etherlink3 / Makefile.OS4
blob10ac3f828812fec03bacab0fc11cafe8263454ff
1 CFLAGS = -O3 -Wall -Wno-uninitialized -Wno-parentheses -D__USE_INLINE__ -D__USE_BASETYPE__ -D__NOLIBBASE__ -D__NOGLOBALIFACE__
2 CC = gcc $(CFLAGS)
3 MAKEFILE = Makefile.OS4
4 LINKER = gcc
5 AMIGA_LIB =
6 C_LIB = -lamiga -lauto
8 DEV_NAME = etherlink3.device
9 OBJS = os4_device.o unit.o request.o pci.o expansion.o
10 HDRS = device.h endian.h io.h
12 all: $(DEV_NAME)
14 .c.o :
15         $(CC) -c $<
17 $(DEV_NAME): $(MAKEFILE) startup.o $(OBJS)
18         $(LINKER) startup.o $(OBJS) $(AMIGA_LIB) $(C_LIB) -o $(DEV_NAME)
19         strip $(DEV_NAME)
20         Protect "$(DEV_NAME)" "-e"
22 $(OBJS): $(MAKEFILE) $(HDRS)
24 unit.o: etherlink3.h mii.h
25 pci.o expansion.o: pci.h
27 install: all
28         Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
29         Avail FLUSH >NIL:
31 clean:
32         Delete "$(DEV_NAME)" "#?.o"