basic integration method and functions added
[physik/posic.git] / Makefile
index ff3fbe3..e171354 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,10 @@ CFLAGS=-Wall
 
 OBJS=init/init.o visual/visual.o math/math.o random/random.o moldyn.o
 
-all: moldyn.o posic
+all: posic
 
-posic: moldyn.o $(OBJS)
+posic: $(OBJS) moldyn.o
        $(CC) $(CFLAGS) -lm -o $@ $(OBJS) $(LIBS) posic.c
 
 clean:
-       rm -f *.o posic
+       rm -f *.o posic */*.o