-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
79 lines (64 loc) · 4.53 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
FC = gfortran
flags_gfortran = -std=f2008 -pedantic -Wall -Wno-maybe-uninitialized
flags_ifort = -O0 -stand f08 -warn all
flags_ifx = ${flags_ifort}
FFLAGS = ${flags_$(FC)}
# generated by makemake90 bin=bin mod=build obj=build src=src:
modules_gfortran = -Jbuild
modules_ifort = -module build
modules_ifx = ${modules_ifort}
override FFLAGS += ${modules_$(FC)}
needless += build/aiff.o build/aiff2riff.o build/bytes.o build/cgi.o build/constants.o build/extended.o build/fjs.o build/guitar.o build/harmonics.o build/id3.o build/inspect.o build/interpreter.o build/intervals.o build/io.o build/lcg.o build/mel.o build/mono.o build/paths.o build/rationals.o build/repeat.o build/riff.o build/riff2aiff.o build/samples.o build/search.o build/spectra.o build/stack.o build/stick.o build/stretch.o build/tag.o build/trim.o build/*.mod
programs = bin/aiff2riff bin/guitar bin/harmonics bin/inspect bin/mel bin/mel.cgi bin/mono bin/repeat bin/riff2aiff bin/stack bin/stick bin/stretch bin/tag bin/trim
.PHONY: all clean cleaner
all: $(programs)
clean:
rm -f $(needless)
cleaner: clean
rm -f $(programs)
$(programs):
$(FC) $(FFLAGS) -o $@ $^ $(LDLIBS)
build/%.o: src/%.f90
$(FC) $(FFLAGS) -c $< -o $@
bin/aiff2riff: build/aiff.o build/aiff2riff.o build/bytes.o build/constants.o build/extended.o build/io.o build/riff.o
bin/guitar: build/constants.o build/guitar.o build/io.o
bin/harmonics: build/constants.o build/harmonics.o build/intervals.o build/io.o build/lcg.o build/samples.o build/spectra.o
bin/inspect: build/aiff.o build/bytes.o build/constants.o build/extended.o build/id3.o build/inspect.o build/io.o build/paths.o build/riff.o
bin/mel: build/bytes.o build/constants.o build/extended.o build/fjs.o build/interpreter.o build/intervals.o build/io.o build/lcg.o build/mel.o build/rationals.o build/riff.o build/samples.o build/search.o
bin/mel.cgi: build/bytes.o build/cgi.o build/constants.o build/extended.o build/fjs.o build/interpreter.o build/intervals.o build/io.o build/lcg.o build/rationals.o build/riff.o build/samples.o build/search.o
bin/mono: build/bytes.o build/constants.o build/extended.o build/io.o build/mono.o build/riff.o
bin/repeat: build/bytes.o build/constants.o build/extended.o build/io.o build/rationals.o build/repeat.o build/riff.o
bin/riff2aiff: build/aiff.o build/bytes.o build/constants.o build/extended.o build/io.o build/riff.o build/riff2aiff.o
bin/stack: build/bytes.o build/constants.o build/extended.o build/io.o build/riff.o build/stack.o
bin/stick: build/bytes.o build/constants.o build/extended.o build/io.o build/riff.o build/stick.o
bin/stretch: build/bytes.o build/constants.o build/extended.o build/io.o build/rationals.o build/riff.o build/stretch.o
bin/tag: build/bytes.o build/constants.o build/extended.o build/id3.o build/io.o build/paths.o build/riff.o build/tag.o
bin/trim: build/bytes.o build/constants.o build/extended.o build/io.o build/rationals.o build/riff.o build/trim.o
build/aiff.o: build/bytes.o build/constants.o build/extended.o
build/aiff2riff.o: build/aiff.o build/constants.o build/io.o build/riff.o
build/bytes.o: build/constants.o
build/cgi.o: build/constants.o build/interpreter.o build/io.o build/riff.o
build/extended.o: build/constants.o
build/fjs.o: build/constants.o
build/guitar.o: build/constants.o build/io.o
build/harmonics.o: build/constants.o build/io.o build/samples.o build/spectra.o
build/id3.o: build/constants.o build/io.o build/paths.o
build/inspect.o: build/aiff.o build/constants.o build/id3.o build/io.o build/paths.o build/riff.o
build/interpreter.o: build/constants.o build/fjs.o build/io.o build/lcg.o build/rationals.o build/riff.o build/samples.o build/search.o
build/intervals.o: build/constants.o
build/io.o: build/constants.o
build/lcg.o: build/constants.o
build/mel.o: build/constants.o build/interpreter.o build/io.o build/riff.o
build/mono.o: build/constants.o build/io.o build/riff.o
build/rationals.o: build/constants.o
build/repeat.o: build/constants.o build/io.o build/rationals.o build/riff.o
build/riff.o: build/bytes.o build/constants.o build/extended.o
build/riff2aiff.o: build/aiff.o build/constants.o build/io.o build/riff.o
build/samples.o: build/constants.o build/intervals.o build/lcg.o
build/search.o: build/constants.o
build/spectra.o: build/constants.o
build/stack.o: build/constants.o build/io.o build/riff.o
build/stick.o: build/constants.o build/io.o build/riff.o
build/stretch.o: build/constants.o build/io.o build/rationals.o build/riff.o
build/tag.o: build/constants.o build/id3.o build/io.o build/paths.o build/riff.o
build/trim.o: build/constants.o build/io.o build/rationals.o build/riff.o