File: Makefile

package info (click to toggle)
lam 6.1-11
  • links: PTS
  • area: main
  • in suites: slink
  • size: 7,764 kB
  • ctags: 5,834
  • sloc: ansic: 55,525; makefile: 1,449; fortran: 184; sh: 39; asm: 26; csh: 12
file content (39 lines) | stat: -rw-r--r-- 634 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
##
##	Ohio Trollius
##	Copyright 1996 The Ohio State University
##
##	Function:	- OTB node utilities
##

DEPTH	= ..

##
## global configuration
##
include $(DEPTH)/Config/config

##
## local configuration
##
SUBDIR	= hboot hcc hf77 lamboot recon tkill wipe

all:
	@for i in $(SUBDIR); do (cd $$i; echo "	"$$i: ; $(MAKE) all); \
	done

depend:
	@for i in $(SUBDIR); do (cd $$i; echo "	"$$i: ; $(MAKE) depend); \
	done

clean:
	@for i in $(SUBDIR); do (cd $$i; echo "	"$$i: ; $(MAKE) clean); \
	done

install: dirs
	@for i in $(SUBDIR); do (cd $$i; echo "	"$$i: ; $(MAKE) install); \
	done

dirs: $(OBDIR)

$(OBDIR):
	mkdir -p $(OBDIR)