1 CFLAGS = -O2 -Wall -Wno-uninitialized -Wno-parentheses -D__NOLIBBASE__
3 MAKEFILE = Makefile.MOS
4 #LINKER = ld -e Main -s
5 LINKER = gcc -s -noixemul
8 DEV_NAME = atheros5000.device
9 OBJS = mos_device.o device.o unit.o encryption.o request.o pci.o openpci.o\
11 HDRS = device.h wireless.h io.h
18 $(DEV_NAME): $(MAKEFILE) startup.o $(OBJS)
19 $(LINKER) startup.o $(OBJS) $(AMIGA_LIB) -o $(DEV_NAME)
20 Protect "$(DEV_NAME)" "-e"
22 $(OBJS) startup.o: $(MAKEFILE) $(HDRS)
24 pci.o openpci.o: pci.h
27 Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
31 Delete "$(DEV_NAME)" "#?.o"