scsi-generic: Fill in opt_xfer_len in INQUIRY reply if it is zero
[qemu/ar7.git] / tests / multiboot / Makefile
blob36f01dc647761d39c7b07c6ac2b3ba69d018e50d
1 CC=gcc
2 CCFLAGS=-m32 -Wall -Wextra -Werror -fno-stack-protector -nostdinc -fno-builtin
3 ASFLAGS=-m32
5 LD=ld
6 LDFLAGS=-melf_i386 -T link.ld
7 LIBS=$(shell $(CC) $(CCFLAGS) -print-libgcc-file-name)
9 all: mmap.elf modules.elf
11 mmap.elf: start.o mmap.o libc.o
12 $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
14 modules.elf: start.o modules.o libc.o
15 $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
17 %.o: %.c
18 $(CC) $(CCFLAGS) -c -o $@ $^
20 %.o: %.S
21 $(CC) $(ASFLAGS) -c -o $@ $^