T.Day@ucl-cs.UUCP (07/01/89)
From: Tim Day <T.Day@uk.ac.ucl.cs> ># This GNUmakefile is useful for large and complex projects which involve ># both G++ library prototypes, and prototypes added by the user(s). It ># is assumed that certain conventions are followed. This looks like it should be really useful; unfortunately I can't figure out how to use it (didn't get any other documentation with it; does any exist ?) To try and work out what's going on and to see what gets included in what, I tried to set up something using the files defined in the makefile. So far I have (after a ``make realclean'') ls -R .. include/ libg++/ proto/ src/ ../include: User_class_1.defs.h User_class_2.h User_class_3_p.defs.h User_class_1.h User_class_2_p.defs.h User_class_3_p.h User_class_1_p.defs.h User_class_2_p.h include.h User_class_1_p.h User_class_3.defs.h utils.h User_class_2.defs.h User_class_3.h ../libg++: ../proto: User_proto_1.ccP User_proto_1.hP User_proto_1_p.ccP User_proto_1_p.hP ../src: User_class_1.cc User_class_2_p.cc makefile program.c% User_class_1_p.cc User_class_3.cc makefile% utils.cc User_class_2.cc User_class_3_p.cc program.c All these files are empty (except program.c, which is just a main) Then ``make program'' gives: g++ -pipe -I../include -I../libg++ -I/usr/local/lib/g++-include -D_User_class_1_cc -c -o User_class_1.o ./User_class_1.cc g++ -pipe -I../include -I../libg++ -I/usr/local/lib/g++-include -D_User_class_2_cc -c -o User_class_2.o ./User_class_2.cc g++ -pipe -I../include -I../libg++ -I/usr/local/lib/g++-include -D_User_class_3_cc -c -o User_class_3.o ./User_class_3.cc g++ -pipe -I../include -I../libg++ -I/usr/local/lib/g++-include -D_utils_cc -c -o utils.o ./utils.cc make: *** No way to make target `../libg++/User_class_3_p.Set.cc'. Stop. (Using make version 3.45) HELP !!! (an ls -R of a real setup would be very useful) Thanks Tim