I'm reading here http://gittup.org/tup/ex_dependencies.html and I'm a bit confused.
What I'm currently doing in Make, is: I have some GLSL files, and I have a rule to create a file `src/shaders.h`, which some files in my program include. It seems to me like you have to explicitly list generated files, like in this snippet: : |> echo "generated text" > %o |> generated.txt : generated.txt |> ./test.sh > %o |> output.txt But how does that work with a Tupfile that looks somewhat like this? : foreach *.c |> gcc -Wall -c %f -o %o |> %B.o : *.o |> gcc %f -o %o |> hello I would really like it to be as general as possible - no extra rules for files #including `shaders.h`. I like how tup works with other non-generated dependencies. Can someone enlighten me on the possibilities here? -- -- 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.
