Hi Guys,
I'm trying to use autotools for the first time, and I'm quite new to it, I've read several tutorials about it and still I can't find myself, Autotools seems like everything I need (and will need in the future) but it is so complected
anyhow, here are my questions:
1. my project tree is quite simple:
1.1 one application composed of 2-3 files.
1.2 one static library (not shared object) that is based on other standards linux library (pthread for example).
I've tried to create a configure.ac and Makefile.am files, started with autoscan template to create the configure.ac file, it all goes well when using the
but when trying to compile with
the completion fails, I'm quite sure that there is something wrong with my Makefile.am
Code:
AUTOMAKE_OPTIONS = subdir-objects
bin_PROGRAMS = testapp
testapp_SOURCES = tests/testapp_threaded.c \
tests/common.h \
tests/worker.c
testapp_LDADD = workqueue.a
noinst_LIBRARIES = workqueue.a
workqueue_a_SOURCES = lib/workqueue.h \
lib/workqueue.h
workqueue_a_LDADD = pthread
2. is there another build system nearly as powerful as the autotools but more user friendly for linux world?
I must say that my intention here is to learn the process and not to solve a specific issue cause I'm sure I'm gonna need to handle such situations in the near future.
many thanks in advance