grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / networks / prism2 / Makefile.MOS
blob1fd7190eecee541a01c17b15c723e90b930af143
1 CFLAGS = -O2 -Wall -Wno-uninitialized -Wno-parentheses -D__NOLIBBASE__
2 CC = gcc $(CFLAGS)
3 MAKEFILE = Makefile.MOS
4 LINKER = ld -e Main -s
5 AMIGA_LIB = -labox
7 DEV_NAME = prism2.device
8 OBJS = mos_device.o device.o unit.o encryption.o request.o pci.o openpci.o\
9  pccard.o timer.o
10 HDRS = device.h wireless.h io.h
12 all: $(DEV_NAME)
14 .c.o :
15         $(CC) -c $<
17 $(DEV_NAME): $(MAKEFILE) startup.o $(OBJS)
18         $(LINKER) startup.o $(OBJS) $(AMIGA_LIB) -o $(DEV_NAME)
19         Protect "$(DEV_NAME)" "-e"
21 $(OBJS) startup.o: $(MAKEFILE) $(HDRS)
22 $(OBJS): $(HDRS)
23 unit.o: prism2.h
24 pci.o openpci.o: pci.h
26 install: all
27         Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
28         Flush "$(DEV_NAME)"
30 clean:
31         Delete "$(DEV_NAME)" "#?.o"