|
|
1.1 root 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: -include .depend
14:
15: depend :
16: @rm -rf .depend
17: ifdef OBJS
18: @touch .depend && \
1.1.1.2 ! root 19: $(CC) -M $(CPPFLAGS) $(CFLAGS) $(OBJS:.o=.c) >> .depend
1.1 root 20: #else
21: # @echo "OBJ is NOT defined"
22: endif
23: ifdef OBJS2
1.1.1.2 ! root 24: @$(CC) -M $(CPPFLAGS) $(CFLAGS) $(OBJS2:.o=.S) >> .depend
1.1 root 25: #else
26: # @echo "OBJ2 is NOT definde"
27: endif
28: @for dir in $(SUBDIRS); do \
29: $(MAKE) -C $$dir depend ; \
30: done
31:
32: mrproper :
33: @rm -rf .depend ; \
34: for dir in $(SUBDIRS); do \
35: $(MAKE) -C $$dir mrproper ; \
36: done
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.