blob: 95368625505d7b11b5568e7264c1f546cb5cfee0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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
|