-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (41 loc) · 1.24 KB
/
Makefile
File metadata and controls
55 lines (41 loc) · 1.24 KB
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
# Master makefile for fastcap and related programs and documentation
# assumed places for unaliased executables
SHELL = /bin/sh
AWK = awk
RM = /bin/rm
CAT = /bin/cat
# changed using `config [type]' - called makefiles switched around
TYPE = other
SRC = src
DOC = doc
default:
@echo Specify what to make:
@echo " fastcap - capacitance calculation program"
@echo " cubegen - cubic capacitor input file generator"
@echo " capgen - parallel plate capacitor input file generator"
@echo " busgen - bus crossing input file generator"
@echo " pipedgen - parallelepiped input file generator"
@echo " pyragen - pyramid input file generator"
@echo " all - all of the above"
@echo " manual - run latex to produce the manual in .dvi format"
@echo " clean - remove object files"
fastcap: setmake
cd $(SRC) ; $(MAKE) fastcap
cubegen: setmake
cd $(SRC) ; $(MAKE) cubegen
capgen: setmake
cd $(SRC) ; $(MAKE) capgen
busgen: setmake
cd $(SRC) ; $(MAKE) busgen
pipedgen: setmake
cd $(SRC) ; $(MAKE) pipedgen
pyragen: setmake
cd $(SRC) ; $(MAKE) pyragen
all: fastcap cubegen capgen busgen pipedgen pyragen
setmake:
@cd $(SRC) ; $(MAKE) setmake TYPE=$(TYPE)
manual:
# @echo no manual at this time
cd $(DOC) ; $(MAKE) manual
clean:
cd $(SRC) ; $(MAKE) clean