Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 ggr 02/21/84; site bentley.UUCP Path: utzoo!watmath!clyde!burl!we13!ihnp4!bentley!fjh From: fjh@bentley.UUCP (FJ Hirsch) Newsgroups: net.unix Subject: Makefile question Message-ID: <404@bentley.UUCP> Date: Tue, 8-May-84 18:04:02 EDT Article-I.D.: bentley.404 Posted: Tue May 8 18:04:02 1984 Date-Received: Wed, 9-May-84 02:53:15 EDT Organization: AT&T Bell Laboratories, Piscataway Lines: 36 I have a makefile question: Say my makefile makes a .o file from a .c file, but it cannot find the .c file in the current directory so it dies saying: Make: Don't know how to make bss.o. Stop. What I want it to do is: if the .c file is there go on as usual if it is not there - go get it! Ie pretend there is the rule: ?.c: goget magicplace $*.c ?.h: where is user defined and ?.X means if .X not found then (to beat it into the ground). And then I might want SCCS to get involved as well (eg ?~.c: ) BUT I really don't want to change makefile SO has someone solved this problem already? If I learn something interesting I'll post it. Thanks. :-) <*> Fred Hirsch <*> AT&T Bell Laboratories <*> eagle!pyuxbb!fjh <*>