projects
/
physik
/
computational_physics.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added computational physic directory, added g_plot api + first newton.c prog
[physik/computational_physics.git]
/
Makefile
1
# computational physics Makefile, rules for all example programs
2
3
INCLUDEDIR = /usr/include
4
CFLAGS = -O3 -Wall
5
LIBS = -L/usr/lib -lm
6
7
API = g_plot.o
8
OBJS = newton
9
10
all: $(OBJS)
11
12
newton: $(API)
13
$(CC) $(CFLAGS) -o $@ $(API) $(LIBS) newton.c
14
15
clean:
16
rm $(API) $(OBJS)
17
18
remake: clean all