From 409d2d8e520e07440f3eb7fd3e506f32935e917c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Fri, 15 Jun 2001 07:06:11 +0000 Subject: [PATCH] added sample C++ demo program git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@554 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- tests/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index a695373d8..15582cab3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,4 +1,4 @@ -noinst_PROGRAMS = dumpcaps dumpmem testcaps testrig testtrn testbcd testfreq listrigs @RIGMATRIX@ +noinst_PROGRAMS = dumpcaps dumpmem testcaps testrig testtrn testbcd testfreq listrigs testcpp @RIGMATRIX@ bin_PROGRAMS = rigctl EXTRA_PROGRAMS = rigmatrix @@ -20,6 +20,7 @@ testtrn_LDADD = $(BACKENDLNK) $(LDADD) rigctl_LDADD = $(BACKENDLNK) $(LDADD) ../lib/libmisc.a # rigmatrix needs also libgd rigmatrix_LDADD = -lgd $(BACKENDLNK) $(LDADD) +testcpp_LDADD = $(BACKENDLNK) ../c++/libhamlib++.la ## Dependencies @@ -31,6 +32,7 @@ testtrn_DEPENDENCIES = $(DEPENDENCIES) $(BACKENDEPS) listrigs_DEPENDENCIES = $(DEPENDENCIES) $(BACKENDEPS) rigctl_DEPENDENCIES = $(DEPENDENCIES) $(BACKENDEPS) ../lib/libmisc.a rigmatrix_DEPENDENCIES = $(DEPENDENCIES) $(BACKENDEPS) +testcpp_DEPENDENCIES = ../c++/libhamlib++.la $(BACKENDEPS) ## Source list testrig_SOURCES = testrig.c @@ -43,6 +45,7 @@ testcaps_SOURCES = testcaps.c listrigs_SOURCES = listrigs.c rigctl_SOURCES = rigctl.c rigmatrix_SOURCES = rigmatrix.c +testcpp_SOURCES = testcpp.cc rigmatrix.html: rigmatrix_head.html rigmatrix listrigs dumpcaps mkdir -p html @@ -51,3 +54,4 @@ rigmatrix.html: rigmatrix_head.html rigmatrix listrigs dumpcaps # ./listrigs | awk 'NR!=1 { system("./dumpcaps $1 > html/model$1.txt") }' noinst_DATA = rigmatrix_head.html +