You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-chemistry/probe/files/2.12.110413-as-needed.patch

39 lines
1.3 KiB

Makefile | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index e6a740e..8f74d6a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,12 @@
-MACHINEFLAGS =
-CFLAGS = $(MACHINEFLAGS)
-LFLAGS = -lm $(MACHINEFLAGS)
+LIBS = -lm
OBJLIST = dots.o abin.o readPDBrecs.o geom3d.o utility.o select.o \
- parse.o atomprops.o stdconntable.o autobondrot.o
+ parse.o atomprops.o stdconntable.o autobondrot.o hybrid_36_c.o
.c.o:
- cc -c $*.c $(CFLAGS)
+ $(CC) $(CFLAGS) -c $*.c
probe: probe.o $(OBJLIST)
- cc -o $@ probe.o $(OBJLIST) $(LFLAGS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ probe.o $(OBJLIST) $(LIBS)
clean:
@rm -f *.o *.ckp
@@ -30,9 +28,10 @@ parse.o: ./parse.h ./utility.h parse.c
probe.o: ./abin.h ./atomprops.h ./autobondrot.h ./dots.h ./geom3d.h \
./parse.h ./probe.h ./readPDBrecs.h ./select.h \
./stdconntable.h ./utility.h probe.c
-readPDBrecs.o: ./geom3d.h ./readPDBrecs.h ./utility.h readPDBrecs.c
+readPDBrecs.o: ./geom3d.h ./readPDBrecs.h ./utility.h ./hybrid_36_c.h readPDBrecs.c
select.o: ./abin.h ./atomprops.h ./geom3d.h ./parse.h ./select.h \
./stdconntable.h ./utility.h select.c
stdconntable.o: ./stdconntable.h stdconntable.c
utility.o: utility.c
+hybrid_36_c.o: ./hybrid_36_c.h hybrid_36_c.c
# DO NOT DELETE THIS 2nd LINE -- make depend uses it