3 OBJS
+= gr_graph.o gr_node.o gr_edge.o gr_util.o
7 $(LUAGRAPH_SO
): $(OBJS
) $(LIBSTAT
)
8 $(LD
) $(LDFLAGS
) -o
$@
$^
$(LIBS
)
10 cp
$(LUAGRAPH_SO
) ..
/graph
/core.
$(EXT
)
13 rm -f
$(OBJS
) $(LUAGRAPH_SO
)
19 makefile.deps
: $(OBJS
:.o
=.c
)
21 test -z
"$(OBJS)" ||
$(CC
) -MM
$(CFLAGS
) $(OBJS
:.o
=.c
) >> makefile.deps
23 -include makefile.deps