1 CFLAGS
= -msmall-code
-O2
-ansi
-Wall
-Wno-uninitialized
-Wno-parentheses
4 LINKER
= ld -e _Main
-s
8 DEV_NAME
= prism2.device
9 OBJS
= device.o unit.o encryption.o encryption_68k.o request.o pci.o\
10 prometheus.o powerpci.o pccard.o timer.o
11 HDRS
= device.h wireless.h io.h
12 OBJS
+= registration.o
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
)
24 $(OBJS
) startup.o
: $(HDRS
)
26 pci.o prometheus.o powerpci.o
: pci.h
29 Copy
"$(DEV_NAME)" "DEVS:networks/" CLONE
31 Copy
$(CMD_NAME
) C
: CLONE
34 Delete
"$(DEV_NAME)" "#?.o" $(CMD_NAME
)