Path: utzoo!attcan!uunet!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: Can you nest subroutines in C? Message-ID: <4002@sugar.hackercorp.com> Date: 9 Jul 89 13:15:44 GMT References: <18215@usc.edu> <7223@cbmvax.UUCP> Organization: Sugar Land Unix - Houston Lines: 31 In article <7223@cbmvax.UUCP>, daveh@cbmvax.UUCP (Dave Haynie) writes: > What I'd really want is a conversion utility that'd build me > an image object file directly from the IFF file. That gets added to the > makefile, and changes in the image then happen as soon as I exit DPAINT, > not some minutes or hours later after the image is automatically or manually > converted to source code of some kind. How does this rule: foo.o: foo.ilbm ilbm_to_obj foo.ilbm -o foo.o Differ from these rules: foo.o: foo.c foo.c: foo.ilbm ilbm_to_c foo.ilbm -o foo.c Or even: foo.o: foo.ilbm ilbm_to_c foo.ilbm -o foo.c cc foo.c Which has the advantage that it will work even if the object file format changes... for example, switching between Manx and Aztec or porting the program from the Amiga to, say, an AT running SV/386 and X-windows. -- Peter "Have you hugged your wolf today" da Silva `-_-' ...texbell!sugar!peter, or peter@sugar.hackercorp.com 'U`