uhci: remove useless DEBUG
[qemu.git] / tests / multiboot / Makefile
blob34cdd81a90b7d1446eda8e363a4c2a582b74838a
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
11 mmap.elf: start.o mmap.o libc.o
12 $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
14 %.o: %.c
15 $(CC) $(CCFLAGS) -c -o $@ $^
17 %.o: %.S
18 $(CC) $(ASFLAGS) -c -o $@ $^