From: hackbard Date: Wed, 26 Apr 2006 19:03:24 +0000 (+0000) Subject: Makefile ok? X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=f518d98d405650ff6f7d45635ec7f1a604bd6d41;p=physik%2Fposic.git Makefile ok? --- diff --git a/Makefile b/Makefile index b696aae..6539f22 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,13 @@ CC=gcc CFLAGS=-Wall +LDFLAGS=-lm OBJS=init/init.o visual/visual.o math/math.o random/random.o list/list.o OBJS+=moldyn.o all: posic -.PHONY:posic -posic: $(OBJS) moldyn.o - $(CC) $(CFLAGS) -lm -o $@ $(OBJS) $(LIBS) posic.c +posic: $(OBJS) .PHONY:clean clean: