1 CFLAGS
= -msmall-code
-O0
-ansi
-Wall
-Wno-uninitialized
-Wno-parentheses
5 LINKER
= ld -e _Main
-s
9 DEV_NAME
= etherlink3.device
10 OBJS
= device.o unit.o request.o pci.o prometheus.o powerpci.o pccard.o
11 #OBJS = device.o unit.o request.o pci.o
12 HDRS
= device.h endian.h io.h
19 $(DEV_NAME
): $(MAKEFILE
) $(OBJS
)
20 $(LINKER
) $(OBJS
) $(AMIGA_LIB
) $(C_LIB
) -o
$(DEV_NAME
)
21 Protect
"$(DEV_NAME)" "-e"
23 $(OBJS
) startup.o
: $(MAKEFILE
) $(HDRS
)
25 unit.o
: etherlink3.h mii.h
26 pci.o prometheus.o powerpci.o
: pci.h
29 Copy
"$(DEV_NAME)" "DEVS:networks/" CLONE
33 Delete
"$(DEV_NAME)" "#?.o"