1 # *****************************************************************************
2 # * Copyright (c) 2004, 2008 IBM Corporation
3 # * All rights reserved.
4 # * This program and the accompanying materials
5 # * are made available under the terms of the BSD License
6 # * which accompanies this distribution, and is available at
7 # * http://www.opensource.org/licenses/bsd-license.php
10 # * IBM Corporation - initial implementation
11 # ****************************************************************************/
14 TOP = $(shell while ! test -e make.rules; do cd .. ; done; pwd)
17 include $(TOP)/make.rules
19 CFLAGS += -I$(ROOTDIR)/other-licence/x86emu -I$(ROOTDIR)/other-licence/x86emu/include
21 OBJS = biosemu.o debug.o device.o mem.o io.o interrupt.o vbe.o
22 LIBX86EMU = $(ROOTDIR)/other-licence/x86emu/libx86emu.a
28 # special rule for libx86emu.a
32 biosemu_app.o: $(OBJS) $(LIBX86EMU)
33 $(LD) $(LDFLAGS) $^ -o $@ -r
36 $(RM) -f *.o *.a *.i *.s
38 include $(TOP)/make.depend