1 CFLAGS = -O3 -Wall -Wno-uninitialized -Wno-parentheses \
2 -D__USE_INLINE__ -D__USE_BASETYPE__ -D__NOLIBBASE__ \
5 MAKEFILE = Makefile.OS4
6 #LINKER = ld -e Main -s -lauto
11 DEV_NAME = etherlink3.device
12 OBJS = os4_device.o device.o unit.o request.o pci.o expansion.o pccard.o
13 HDRS = device.h endian.h io.h
20 $(DEV_NAME): $(MAKEFILE) startup.o $(OBJS)
21 $(LINKER) startup.o $(OBJS) $(AMIGA_LIB) $(C_LIB) -o $(DEV_NAME)
23 Protect "$(DEV_NAME)" "-e"
25 $(OBJS): $(MAKEFILE) $(HDRS)
27 unit.o: etherlink3.h mii.h
28 pci.o expansion.o: pci.h
31 Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
35 Delete "$(DEV_NAME)" "#?.o"