1#
2# ia64/boot/Makefile
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License.  See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8# Copyright (C) 1998 by David Mosberger-Tang <davidm@hpl.hp.com>
9#
10
11LINKFLAGS = -static -T bootloader.lds
12
13.S.s:
14	$(CPP) $(AFLAGS) -traditional -o $*.o $<
15.S.o:
16	$(CC) $(AFLAGS) -traditional -c -o $*.o $<
17
18OBJECTS	= bootloader.o
19
20targets-$(CONFIG_IA64_HP_SIM) += bootloader
21targets-$(CONFIG_IA64_GENERIC) += bootloader
22
23all:	$(targets-y)
24
25bootloader: $(OBJECTS)
26	$(LD) $(LINKFLAGS) $(OBJECTS) $(TOPDIR)/lib/lib.a $(TOPDIR)/arch/$(ARCH)/lib/lib.a \
27	-o bootloader
28
29clean:
30	rm -f $(targets-y) $(OBJECTS)
31
32dep:
33