]> hackdaworld.org Git - physik/posic.git/commitdiff
Makefile ok?
authorhackbard <hackbard>
Wed, 26 Apr 2006 19:03:24 +0000 (19:03 +0000)
committerhackbard <hackbard>
Wed, 26 Apr 2006 19:03:24 +0000 (19:03 +0000)
Makefile

index b696aae64ecbf39ca03d435f94e916c9b8c34a4a..6539f22a09f5062ce0f09574723c2a74e0c4f1b8 100644 (file)
--- 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: