adopted to graphviz version 10.0.1 and MACOS Sonoma
[luagraph.git] / src / makefile
blob4b10e047ec9ea89af5677531e9e59db9dc1806fc
1 include ../config
3 OBJS += gr_graph.o gr_node.o gr_edge.o gr_util.o
5 all: $(LUAGRAPH_SO)
7 $(LUAGRAPH_SO): $(OBJS) $(LIBSTAT)
8 $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
9 mkdir -p ../graph
10 cp $(LUAGRAPH_SO) ../graph/core.$(EXT)
12 clean:
13 rm -f $(OBJS) $(LUAGRAPH_SO)
14 rm -rf ../graph
15 rm -rf makefile.deps
17 depend: makefile.deps
19 makefile.deps: $(OBJS:.o=.c)
20 rm -f makefile.deps
21 test -z "$(OBJS)" || $(CC) -MM $(CFLAGS) $(OBJS:.o=.c) >> makefile.deps
23 -include makefile.deps