-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·47 lines (35 loc) · 918 Bytes
/
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
BIN=radterp
default: run
v:
make 2>&1 | less
vi:
vim \
Makefile \
README.md \
main.cpp \
radterpolate.cpp \
radterpolate.h \
termstuff.c \
termstuff.h \
linfit.c \
eq-plot.pl \
data-samples/sample-test.txt \
data-samples/sample1.txt \
data-samples/sample2.txt
run: $(BIN)-run
$(BIN)-run: $(BIN)
./$(BIN)
#./$(BIN) & echo "attach $!; break main.cpp 70" > .gdbinit; fg
clean:
rm $(BIN)
$(BIN): main.cpp radterpolate.cpp radterpolate.h termstuff.c termstuff.h
g++ -ggdb3 -Wall -pedantic -o $(BIN) main.cpp radterpolate.cpp termstuff.c
field_build:
g++ -ggdb3 -D SHOW_FS_FIELD -Wall -pedantic -o $(BIN) main.cpp radterpolate.cpp termstuff.c
field: field_build
./radterp
debug: main.cpp radterpolate.cpp radterpolate.h termstuff.c termstuff.h
g++ -ggdb3 -D RAD_VERBOSE=2 -Wall -pedantic -o $(BIN) main.cpp radterpolate.cpp termstuff.c
./radterp
eq-plot-perl-run:
./eq-plot.pl