kopia lustrzana https://github.com/Hamlib/Hamlib
added build_all ,cleanall and verify targets
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@11 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.0.0
rodzic
0519b7e45a
commit
e432b2e194
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
# creates: libft747.so
|
# creates: libft747.so
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.1 2000-07-18 20:53:46 frank Exp $
|
# $Id: Makefile,v 1.2 2000-07-18 22:01:04 frank Exp $
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# .h files go in INSTALL_INCLUDEDIR
|
# .h files go in INSTALL_INCLUDEDIR
|
||||||
|
@ -50,6 +50,20 @@ install_lib:
|
||||||
install_header:
|
install_header:
|
||||||
cp -f $(LIB_HEADER) $(INSTALL_INCLUDEDIR)
|
cp -f $(LIB_HEADER) $(INSTALL_INCLUDEDIR)
|
||||||
|
|
||||||
|
# build lib and install and build test suite, but DONT run it
|
||||||
|
|
||||||
|
.PHONY: build_all
|
||||||
|
build_all:
|
||||||
|
make all
|
||||||
|
make install
|
||||||
|
(cd test && $(MAKE) all)
|
||||||
|
|
||||||
|
# build everything and run test suite ( stand back ..)
|
||||||
|
|
||||||
|
.PHONY: verify
|
||||||
|
verify:
|
||||||
|
make build_all
|
||||||
|
(cd test && $(MAKE) runtest)
|
||||||
|
|
||||||
# clean up local directory, my include and lib
|
# clean up local directory, my include and lib
|
||||||
# directories also.
|
# directories also.
|
||||||
|
@ -59,6 +73,16 @@ clean:
|
||||||
make cleanlib
|
make cleanlib
|
||||||
make cleaninclude
|
make cleaninclude
|
||||||
|
|
||||||
|
# clean up local directory, my include and lib and test
|
||||||
|
# directories also.
|
||||||
|
.PHONY: cleanall
|
||||||
|
cleanall:
|
||||||
|
make cleanlocal
|
||||||
|
make cleanlib
|
||||||
|
make cleaninclude
|
||||||
|
make cleantest
|
||||||
|
|
||||||
|
|
||||||
# clean up local directory
|
# clean up local directory
|
||||||
|
|
||||||
.PHONY: cleanlocal
|
.PHONY: cleanlocal
|
||||||
|
@ -80,6 +104,13 @@ cleaninclude:
|
||||||
cd $(INSTALL_INCLUDEDIR); rm -f $(LIB_HEADER)
|
cd $(INSTALL_INCLUDEDIR); rm -f $(LIB_HEADER)
|
||||||
|
|
||||||
|
|
||||||
|
# clean up test directory
|
||||||
|
|
||||||
|
.PHONY: cleantest
|
||||||
|
cleantest:
|
||||||
|
(cd test && $(MAKE) clean)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue