projects
/
physik
/
computational_physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added runge kutta example
[physik/computational_physics.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
0af4236
..
e08fef7
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,11
+1,12
@@
# computational physics Makefile, rules for all example programs
# computational physics Makefile, rules for all example programs
+CC=gcc
INCLUDEDIR = /usr/include
CFLAGS = -O3 -Wall
LIBS = -L/usr/lib -lm
API = g_plot.o general.o
INCLUDEDIR = /usr/include
CFLAGS = -O3 -Wall
LIBS = -L/usr/lib -lm
API = g_plot.o general.o
-OBJS = newton zentral homogen integral-1_2 integral-2_2 polynom_interpolation kettenbruchentwicklung bessel_1 bessel_2 check_rand mc_int
+OBJS = newton zentral homogen integral-1_2 integral-2_2 polynom_interpolation kettenbruchentwicklung bessel_1 bessel_2 check_rand mc_int
nullstellen rk
all: $(OBJS)
all: $(OBJS)
@@
-42,7
+43,13
@@
check_rand: $(API)
mc_int: $(API)
$(CC) $(CFLAGS) -o $@ $(API) $(LIBS) mc_int.c
mc_int: $(API)
$(CC) $(CFLAGS) -o $@ $(API) $(LIBS) mc_int.c
+nullstellen: $(API)
+ $(CC) $(CFLAGS) -o $@ $(API) $(LIBS) nullstellen.c
+
+rk: $(API)
+ $(CC) $(CFLAGS) -o $@ $(API) $(LIBS) rk.c
+
clean:
clean:
- rm $(API) $(OBJS)
+ rm
-f
$(API) $(OBJS)
remake: clean all
remake: clean all