Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / devs / networks / intelpro100 / Makefile.MOS
blobf3aca7ac4c8a049480c8b0ba1f305c9f4ebebee8
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 LINKER2 = gcc
6 AMIGA_LIB = -labox
8 DEV_NAME = intelpro100.device
9 OBJS = mos_device.o unit.o request.o pci.o openpci.o
10 HDRS = device.h endian.h io.h
12 all: $(DEV_NAME)
14 .c.o :
15         $(CC) -c $<
17 $(DEV_NAME): $(MAKEFILE) startup.o $(OBJS)
18         $(LINKER2) startup.o $(OBJS) $(AMIGA_LIB) $(C_LIB) -o $(DEV_NAME)
19         Protect "$(DEV_NAME)" "-e"
21 $(OBJS) startup.o: $(MAKEFILE) $(HDRS)
22 $(OBJS): $(HDRS)
23 unit.o: intelpro100.h mii.h dp83840.h
24 openpci.o: io.h
25 pci.o openpci.o: pci.h
26 mos_device.o: device.c
28 install: all
29         Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
30         Flush "$(DEV_NAME)"
32 clean:
33         Delete "$(DEV_NAME)" "#?.o"