It is strange that so small a program causes so much grief and pain.
The autorevision only depends on
std::string and
std::ios and has only one source file. It should be possible to build this? :shock:
noinst_PROGRAMS = auto_revision
auto_revision_SOURCES = autorevision.cpp
all-local: $(builddir)/auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
I know very little about
automake (and did not write the makefiles), but for all I know, this should be a 100% good one.
Line 1 tells it "build a program called auto_make, but don't install it anywhere (i.e. leave in the source directory)
Line 2 says "the list of sources to compile is: autorevision.cpp".
Line 3 launches the program which was previously built.
I would expect
auto_revision to be found in the same directory as
autorevision.cpp. Something that is completely beyond me is why there is the
-o autorevision.o switch in the commandline -- where does that come from?