grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / networks / intelpro100 / Makefile.OS4
blobae5a79c120bd74fc1b4c711a5d96d6f92457cd23
1 CFLAGS = -O3 -Wall -Wno-uninitialized -Wno-parentheses -D__USE_INLINE__ -D__USE_BASETYPE__ -D__NOLIBBASE__ -D__NOGLOBALIFACE__
2 CC = gcc $(CFLAGS)
3 MAKEFILE = Makefile.OS4
4 LINKER = gcc
5 LINKER2 = gcc
6 AMIGA_LIB =
7 C_LIB = -lamiga -lauto
9 DEV_NAME = intelpro100.device
10 OBJS = os4_device.o unit.o request.o pci.o expansion.o
11 HDRS = device.h endian.h io.h
13 all: $(DEV_NAME)
15 .c.o :
16         $(CC) -c $<
18 $(DEV_NAME): $(MAKEFILE) startup.o $(OBJS)
19         $(LINKER) startup.o $(OBJS) $(AMIGA_LIB) $(C_LIB) -o $(DEV_NAME)
20         Protect "$(DEV_NAME)" "-e"
22 $(OBJS): $(MAKEFILE) $(HDRS)
24 unit.o: intelpro100.h mii.h
25 pci.o expansion.o: pci.h dp83840.h
27 install: all
28         strip $(DEV_NAME)
29         Copy "$(DEV_NAME)" "DEVS:networks/" CLONE
30         Avail FLUSH >NIL:
32 clean:
33         Delete "$(DEV_NAME)" "#?.o"