projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
incorporated visual functions to moldyn api
[physik/posic.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
0250883
..
70f4a5d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,15
+1,29
@@
-CC=gcc-3.4
-#CC=gcc
-CFLAGS=-Wall# -O3 #-DSIMPLE_TESTING
+CC = gcc
+
+CFLAGS = -Wall
+CFLAGS += -O3
+CFLAGS += -g
+#CFLAGS += -ffloat-store
+
+CFLAGS += -DALBE
+#CFLAGS += -DDEBUG
+#CFLAGS += -DVDEBUG
+#CFLAGS += -DTERSOFF_ORIG
+
LDFLAGS=-lm
LDFLAGS=-lm
-OBJS=visual/visual.o random/random.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: clean sic
+sic: $(DEPS)
-
sic: $(OBJ
S)
+
postproc: $(DEP
S)
.PHONY:clean
clean:
.PHONY:clean
clean:
- rm -
f *.o sic
*/*.o
+ rm -
vf sic postproc fluctuation_calc *.o
*/*.o