Hi folks, Would it be possible to tell Automake to print some warning message for this bad Makefile.am:
bin_PROGRAMS += PreciousUtils_checker PreciousUtils_checker_SOURCES = precious/Utils/unittest/src/SLListTest.cc \ precious/Utils/unittest/src/DLListTest.cc \ precious/Utils/unittest/src/HandlePoolTest.cc \ precious/Utils/unittest/src/checker.cc PreciousUtils_checker_CPPFLAGS = \ -I$(MYLIB)/include PreciousUtils_checker_LDADD = \ -L$(MYLIB)/lib -lmylib I am sure you can see the problem immediatly. Hint: The error message I got was /usr/lib/crt1.o(.text+0x18): In function `_start': : undefined reference to `main' collect2: ld returned 1 exit status Many thanx Harri