File: Makefile.orig

package info (click to toggle)
plotmtv 1.4.4t-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,964 kB
  • ctags: 5,420
  • sloc: ansic: 55,108; makefile: 1,995; fortran: 1,277; sh: 510; csh: 439
file content (60 lines) | stat: -rw-r--r-- 1,214 bytes parent folder | download | duplicates (4)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# Root makefile for visualization project
#

LIBDIR   = Lib
PLOTDIR  = Plot
DOCDIR   = Docs
UTILDIR  = Utils
SUBDIRS  = $(LIBDIR) $(PLOTDIR) $(UTILDIR)
INCDIR   = /usr/include
LIBPATH  =

# Your favorite installer
# INSTALL = cp
INSTALL = install -c -s

# The binary is to be installed here
PROGRAM  = plotmtv
BINDIR   = ./Bin

# The man pages are to to be installed here
MANDIR   = /tcad12/users/ktoh/man/manl

# ename the man page with the .l tag (plotmtv.l)
MANTYPE  = .l

world: all install

all::
	for i in $(SUBDIRS) ;\
	do \
	(cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
	$(MAKE) -f Makefile.orig all); \
	done

install::
	if [ ! -d $(BINDIR) ] ; then mkdir $(BINDIR); fi;\
	for i in $(SUBDIRS) ;\
	do \
	(cd $$i ; echo "making" install "in $(CURRENT_DIR)/$$i..."; \
	$(MAKE) -f Makefile.orig install); \
	done
	cp $(DOCDIR)/$(PROGRAM).man $(MANDIR)/$(PROGRAM)$(MANTYPE)

cleanall::
	for i in $(SUBDIRS) ;\
	do \
	(cd $$i ; echo "making" cleanall "in $(CURRENT_DIR)/$$i..."; \
	$(MAKE) -f Makefile.orig cleanall); \
	done
	\rm -f $(BINDIR)/*

clean::
	for i in $(SUBDIRS) ;\
	do \
	(cd $$i ; echo "making" clean "in $(CURRENT_DIR)/$$i..."; \
	$(MAKE) -f Makefile.orig clean); \
	done

FORCE: