-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
61 lines (55 loc) · 1.37 KB
/
Makefile
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
CC = gcc
RM = rm -f
CCFLAGS = -Wall
M = -lm
PREFIX = /usr/local
all: hamule
hamule:
# $(CC) $(CCFLAGS) -o bias bias.c $(M)
$(CC) $(CCFLAGS) -o boost boost.c
$(CC) $(CCFLAGS) -o clod clod.c $(M)
$(CC) $(CCFLAGS) -o 'clod (base loaded)' 'clod (base loaded).c' $(M)
$(CC) $(CCFLAGS) -o elcut elcut.c
$(CC) $(CCFLAGS) -o gainmargin gainmargin.c $(M)
$(CC) $(CCFLAGS) -o joules joules.c $(M)
$(CC) $(CCFLAGS) -o rcfilt rcfilt.c $(M)
$(CC) $(CCFLAGS) -o seriesw seriesw.c $(M)
$(CC) $(CCFLAGS) -o salkey salkey.c $(M)
$(CC) $(CCFLAGS) -o tankfreq tankfreq.c $(M)
$(CC) $(CCFLAGS) -o tanklc tanklc.c $(M)
$(CC) $(CCFLAGS) -o valfind valfind.c
$(CC) $(CCFLAGS) -o zipz zipz.c -lm
$(CC) $(CCFLAGS) -o zout zout.c
install:
# cp ./bias $(PREFIX)/bin
cp ./boost $(PREFIX)/bin
cp ./clod $(PREFIX)/bin
cp ./'clod (base loaded)' $(PREFIX)/bin
cp ./elcut $(PREFIX)/bin
cp ./gainmargin $(PREFIX)/bin
cp ./joules $(PREFIX)/bin
cp ./rcfilt $(PREFIX)/bin
cp ./seriesw $(PREFIX)/bin
cp ./salkey $(PREFIX)/bin
cp ./tankfreq $(PREFIX)/bin
cp ./tanklc $(PREFIX)/bin
cp ./valfind $(PREFIX)/bin
cp ./zipz $(PREFIX)/bin
cp ./zout $(PREFIX)/bin
clean:
# $(RM) bias
$(RM) boost
$(RM) clod
$(RM) 'clod (base loaded)'
$(RM) elcut
$(RM) gainmargin
$(RM) joules
$(RM) rcfilt
$(RM) seriesw
$(RM) salkey
$(RM) tankfreq
$(RM) tanklc
$(RM) valfind
$(RM) zipz
$(RM) zout
distclean: clean