projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
isecurity checkin .. .we have the diffs anyways!
[physik/posic.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
7096b48
..
0e7b122
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,14
+1,30
@@
-CC=gcc
-CFLAGS=-Wall -DSIMPLE_TESTING
+CC = gcc
+
+CFLAGS = -Wall
+CFLAGS += -O3
+CFLAGS += -g
+#CFLAGS += -ffloat-store
+
+CFLAGS += -DALBE
+#CFLAGS += -DDEBUG
+CFLAGS += -DDSTART=400 -DDEND=600
+#CFLAGS += -DVDEBUG
+#CFLAGS += -DTERSOFF_ORIG
+
LDFLAGS=-lm
LDFLAGS=-lm
-OBJS=init/init.o visual/visual.o math/math.o random/random.o list/list.o
-OBJS+=moldyn.o
+DEPS = moldyn.o random/random.o list/list.o
+DEPS += potentials/lennard_jones.o potentials/harmonic_oscillator.o
+DEPS += potentials/tersoff.o potentials/albe.o
+
+all: posic sic fluctuation_calc postproc
+
+posic: $(DEPS)
-all: posic
+sic: $(DEPS)
-pos
ic: $(OBJ
S)
+pos
tproc: $(DEP
S)
.PHONY:clean
clean:
.PHONY:clean
clean:
- rm -
f *.o posic
*/*.o
+ rm -
vf sic postproc fluctuation_calc *.o
*/*.o