Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / SLOF / clients / net-snk / kernel / Makefile
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
8 # *
9 # * Contributors:
10 # *     IBM Corporation - initial implementation
11 # ****************************************************************************/
12
13
14 ifndef TOP
15   TOP = $(shell while ! test -e make.rules; do cd ..  ; done; pwd)
16   export TOP
17 endif
18 include $(TOP)/make.rules
19
20 OBJS =  init.o systemcall.o crt0.o timer.o
21 OBJS2 = entry.o
22
23 all: kernel.o 
24
25 kernel.o: $(OBJS) $(OBJS2)
26                 $(LD) $(LDFLAGS) $(OBJS) $(OBJS2) -o $@ -r
27
28 clean:          
29                 $(RM) -f *.o *.a *.i
30
31 include $(TOP)/make.depend