revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / networks / etherlink3 / Makefile
blob6b8b36a4698309813dcfd0dd30a9871987b74d4c
1 CFLAGS = -msmall-code -O0 -ansi -Wall -Wno-uninitialized -Wno-parentheses
2 CC = gcc $(CFLAGS)
3 #CC = gcc
4 MAKEFILE = Makefile
5 LINKER = ld -e _Main -s
6 AMIGA_LIB = -lamiga
7 C_LIB = -lnix/libnix13
9 DEV_NAME = etherlink3.device
10 OBJS = device.o unit.o request.o pci.o prometheus.o powerpci.o pccard.o
11 #OBJS = device.o unit.o request.o pci.o
12 HDRS = device.h endian.h io.h
14 all: $(DEV_NAME)
16 .c.o :
17 $(CC) -c $<
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) $(HDRS)
24 $(OBJS): $(HDRS)
25 unit.o: etherlink3.h mii.h
26 pci.o prometheus.o powerpci.o: pci.h
28 install: all
29 Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
30 Flush "$(DEV_NAME)"
32 clean:
33 Delete "$(DEV_NAME)" "#?.o"