3 .PHONY
: all clean depend uclean
11 rm -f
`find . -name "*~"`
12 rm -f
`find . -name "#*"`
13 rm -f graph
/core.so
$(LUAGRAPH_SO
)
17 .PHONY
: install uninstall install-doc uninstall-doc
20 mkdir
-p
$(INSTALL_SHARE
) $(INSTALL_LIB
)/graph
21 $(INSTALL_DATA
) graph.lua
$(INSTALL_SHARE
)
22 cd src
&& $(INSTALL_COPY
) $(LUAGRAPH_SO
) $(INSTALL_LIB
)/graph
/core.
$(EXT
)
25 rm -rf
$(INSTALL_SHARE
)/graph.lua
26 rm -rf
$(INSTALL_LIB
)/graph
29 mkdir
-p
$(INSTALL_DOC
)/html
30 cd doc
&& $(INSTALL_COPY
) * $(INSTALL_DOC
)/html
38 $(LUABIN
) test/test.lua
41 $(LUABIN
) test/test.lua DEBUG
51 @echo
"System shortname: "$(SYSTEM
)
53 .PHONY
: dist dist-git dist-cvs dist-svn
58 git archive
--format
=tar --prefix=$(DISTNAME
)/ HEAD | gzip
>$(EXPORTDIR
)/$(DISTARCH
)