Hi.

I am new to the wonderful tool that is tup.

I am trying to use an externally generated lib.

My Tupfile looks like :

include_rules
CFLAGS += -Isrc
CFLAGS += --std=gnu99
CFLAGS += -L /test_proj/src/lib
: status.c |> gcc $(CFLAGS) -c %f -o %o |> status.o
: status.o ../../lib/libzlog.a ../../lib/libchassis.a ../../lib/libmongoc.a 
../../lib/libconfuse.a |> gcc $(CFLAGS) %f -o %o |> ../../../tests/status

Everything works fine, but there is an an error with my libchassis.a file. 
The error reads :

tup error: Explicitly named file 'src/lib/libchassis.a' can't be listed as 
an input because it was generated from external directory 'src/libchassis' 
- try placing the file in a group instead and using the group as an input. 
tup error: Error parsing Tupfile line 6 

I have tried to get an understanding of groups via : 
http://gittup.org/tup/manual.html

but i cant make heads or tails of what to do next.

Could someone provide me with an example of how to use groups?

-- 
-- 
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/groups/opt_out.

Reply via email to