added build_all ,cleanall and verify targets

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@11 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.0.0
Frank Singleton, VK3FCS 2000-07-18 22:01:04 +00:00
rodzic 0519b7e45a
commit e432b2e194
1 zmienionych plików z 32 dodań i 1 usunięć

Wyświetl plik

@ -4,7 +4,7 @@
#
# 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
@ -50,6 +50,20 @@ install_lib:
install_header:
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
# directories also.
@ -59,6 +73,16 @@ clean:
make cleanlib
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
.PHONY: cleanlocal
@ -80,6 +104,13 @@ cleaninclude:
cd $(INSTALL_INCLUDEDIR); rm -f $(LIB_HEADER)
# clean up test directory
.PHONY: cleantest
cleantest:
(cd test && $(MAKE) clean)