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 # ****************************************************************************/
15 TOP = $(shell while ! test -e make.rules; do cd .. ; done; pwd)
18 include $(TOP)/make.rules
20 OBJS = rtas.o of.o pci.o
26 oflib.o: $(OBJS) $(OBJS2)
27 $(LD) $(LDFLAGS) $^ -o oflib.o -r
30 $(RM) -f $(OBJS) $(OBJS2) oflib.o
32 include $(TOP)/make.depend
39 # @rm -rf .depend ; touch .depend ; \
40 # makedepend -v -f.depend -- $(CFLAGS) -- $(OBJS:.o=.c) 2> /dev/null ; \
41 # $(CC) -M $(CFLAGS) $(OBJS2:.o=.S) >> .depend