1 CFLAGS
= -msmall-code
-O0
-ansi
-Wall
-Wno-uninitialized
-Wno-parentheses
4 LINKER
= ld -e _Main
-s
8 DEV_NAME
= intelpro100.device
9 OBJS
= device.o unit.o request.o pci.o prometheus.o powerpci.o
10 HDRS
= device.h endian.h io.h
17 $(DEV_NAME
): $(MAKEFILE
) $(OBJS
)
18 $(LINKER
) $(OBJS
) $(AMIGA_LIB
) $(C_LIB
) -o
$(DEV_NAME
)
19 Protect
"$(DEV_NAME)" "-e"
21 $(OBJS
) startup.o
: $(MAKEFILE
) $(HDRS
)
23 unit.o
: intelpro100.h mii.h dp83840.h
25 pci.o prometheus.o powerpci.o
: pci.h
28 Copy
"$(DEV_NAME)" "DEVS:networks/" CLONE
32 Delete
"$(DEV_NAME)" "#?.o"