help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmake error: No rule to make target lib_file.a


From: Paul Pluzhnikov
Subject: Re: gmake error: No rule to make target lib_file.a
Date: Mon, 05 May 2008 09:20:06 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

main13@gmail.com writes:

These lines are likely bogus:

> name_of_project_DEPENDENCIES = ./src/libsrc.a lib_file2.a lib_file3.a
> name_of_project_LDADD = ./src/libsrc.a -llib_file1.a lib_file2.a lib_file3.a

They probably should be:

name_of_project_DEPENDENCIES = ./src/libsrc.a ./lib_folder/lib_file1.a 
./lib_folder/lib_file2.a ./lib_folder/lib_file3.a
name_of_project_LDADD =        ./src/libsrc.a ./lib_folder/lib_file1.a 
./lib_folder/lib_file2.a ./lib_folder/lib_file3.a

(BTW, please don't call directories "folders", unless you want to
come across as a complete newby).

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]