scratch-tool: add simple debug skeleton

simplifies writing quick test commands linking against the library
This commit is contained in:
Danny Robson 2016-02-02 12:11:38 +11:00
parent 8841e9d055
commit 9cb25456a4
2 changed files with 9 additions and 0 deletions

View File

@ -373,6 +373,8 @@ bin_PROGRAMS = \
tools/hash \ tools/hash \
tools/noise tools/noise
noinst_PROGRAMS = tools/scratch
LDADD = $(top_builddir)/libutil.a $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(ZLIB_LIBS) LDADD = $(top_builddir)/libutil.a $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(ZLIB_LIBS)

7
tools/scratch.cpp Normal file
View File

@ -0,0 +1,7 @@
#include <cstdlib>
int
main (void)
{
return EXIT_SUCCESS;
}