Article View: gnu.g++.bug
Article #91makefile for large projects
From: T.Day
Date: Sat, 01 Jul 1989 16:44
Date: Sat, 01 Jul 1989 16:44
48 lines
2316 bytes
2316 bytes
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
Technical Details
Message-ID:
<314@ucl-cs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!ukc!strath-cs!nott-cs!ucl-cs!T.DayShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!ukc!strath-cs!nott-cs!ucl-cs!T.Day From: T.Day@ucl-cs.UUCP Newsgroups: gnu.g++.bug Subject: makefile for large projects Message-ID: <314@ucl-cs.UUCP> Date: 1 Jul 89 16:44:54 GMT Sender: T.Day@ucl-cs.UUCP Lines: 48