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 (45 lines) | stat: -rw-r--r-- 816 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
40
41
42
43
44
45
##
##	Ohio Trollius
##	Copyright 1996 The Ohio State University
##
##	Function:	- grand-daddy Trollius make
##

##
## global configuration
##
include Config/config

SUBDIR	= share/h lib/otb-$(OARCH) tools-$(OARCH) \
	  otb-$(OARCH) schema man

easy: clean depend install

all: dirs
	@for i in $(SUBDIR); do \
		(cd $$i; echo $$i: ; PATH=$${PATH}:$(OBDIR) $(MAKE) all); \
	done
	@echo "Installation of LAM is complete."

depend: dirs
	@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: ; PATH=$${PATH}:$(OBDIR) $(MAKE) install); \
	done

profile: dirs
	cd lib/otb-$(OARCH)/pmpi; $(MAKE) depend; $(MAKE) install

dirs:	$(HOME)

$(HOME):
	mkdir -p $@