mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
![Frank Singleton, VK3FCS](/assets/img/avatar_default.png)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@13 7ae35d74-ebe9-4afe-98af-79ac388436b8
67 lines
1.2 KiB
Makefile
67 lines
1.2 KiB
Makefile
# hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
|
|
#
|
|
# Makefile - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
|
|
# TOP LEVEL Makefile for a set of API's for communicating
|
|
# via serial interface to ham radio equipment via serial interface.
|
|
#
|
|
#
|
|
# Top Level Make file for shared lib suite.
|
|
#
|
|
#
|
|
# $Id: Makefile,v 1.1 2000-07-25 00:34:27 javabear Exp $
|
|
#
|
|
#
|
|
#
|
|
#
|
|
|
|
#for time stamping releases
|
|
REL_NAME := $(shell date +%Y.%m.%d.%s)
|
|
|
|
|
|
all:
|
|
(cd ft747 && $(MAKE) all)
|
|
(cd ft847 && $(MAKE) all)
|
|
(cd common && $(MAKE) all)
|
|
|
|
|
|
# Build all libs, install locally, and make test suite
|
|
# but dont run..
|
|
|
|
.PHONY: build_all
|
|
build_all:
|
|
(cd common && $(MAKE) all)
|
|
(cd ft747 && $(MAKE) build_all)
|
|
(cd ft847 && $(MAKE) build_all)
|
|
|
|
|
|
# Clean
|
|
|
|
.PHONY: cleanall
|
|
cleanall:
|
|
(cd ft747 && $(MAKE) cleanall)
|
|
(cd ft847 && $(MAKE) cleanall)
|
|
(cd common && $(MAKE) clean)
|
|
|
|
|
|
# Build all libs, install locally and test suite
|
|
# and run..
|
|
|
|
.PHONY: verify
|
|
verify:
|
|
(cd common && $(MAKE) all)
|
|
(cd ft747 && $(MAKE) verify)
|
|
(cd ft847 && $(MAKE) verify)
|
|
|
|
|
|
|
|
# Basis tar.tgz distribution with embedded date info. Store in
|
|
# parent directory.
|
|
|
|
.PHONY: dist
|
|
dist:
|
|
make cleanall
|
|
tar -zcvf ../Hamlib.${REL_NAME}.tgz *
|
|
|
|
|
|
|