Re: Rep:how to build a program with external sources ?

2001-04-27 Thread Alexandre Oliva
On Apr 27, 2001, <[EMAIL PROTECTED]> wrote: > test_md5_SOURCES = test_md5.c profile_md5.c > test_md5_LDADD = md5.o How about: test_md5_SOURCES = test_md5.c provfile_md5.c nodist_test_md5_SOURCES = md5.c # requires CVS automake md5.c: $(LN_S) /path/to/md5.c md5.c -- Alexandre Oli

Rep:how to build a program with external sources ?

2001-04-27 Thread glafage
I finally found a solution, (thanks to sample from Automake doc) but I don't know if it's the best, here is my Makefile.am INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/../../global_libs/extern/md5 bin_PROGRAMS = test_md5 test_md5_SOURCES = test_md5.c profile_md5.c test_md5_LDADD = md5.o md5.o