1 ## -----------------------------------------------------------------------
3 ## Copyright 2001-2009 H. Peter Anvin - All Rights Reserved
4 ## Copyright 2009 Intel Corporation; author: H. Peter Anvin
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
9 ## Boston MA 02110-1301, USA; either version 2 of the License, or
10 ## (at your option) any later version; incorporated herein by reference.
12 ## -----------------------------------------------------------------------
21 LIBS
= ..
/libutil
/libutil_com.a ..
/lib
/libcom32.a
$(LIBGCC
)
22 LNXLIBS
= ..
/libutil
/libutil_lnx.a
27 OBJS
= mboot.o map.o mem.o initvesa.o apm.o solaris.o syslinux.o
29 all: $(MODULES
) $(TESTFILES
)
31 mboot.elf
: $(OBJS
) $(LIBS
) $(C_LIBS
)
32 $(LD
) $(LDFLAGS
) -o
$@
$^
35 rm -f
*.o
*.lo
*.a
*.lst
*.elf .
*.d
*.tmp
41 rm -f
*.lss
*.c32
*.com