Hello Kalrish!

You can use tup groups. You are just 3 steps away:
1. In your top-level Tuprules.tup file add a following variable

TOP = $(TUP_CWD)

2. In the folder where you build the library change the rule to

: obj1.o obj2.o obj3.o |> !library |>
$(LIBRARY_PREFIX)library.$(LIBRARY_EXTENSION) $(TOP)/<library>

3. Anywhere you need the library use it like this:

: test1.o | $(TOP)/<library> |> !program %<library> |> test1.exe

Regards,
FCh

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to