Re: Makefile for Informix 4GL
Posted in 1992
In article <1992Nov30.054856.17704@candle.uucp> root@candle.uucp (Bruce Momjian) writes: > >Would someone please post how to construct a Makefile for 4GL >multi-part source programs? Here is my best shot. It works, but I can >not figure out how to discard the builtin Make rules without calling >'make' from within the Makefile with the -r option. The Makeflags >variable doesn't seem to do any good. I presume you want to discard the builtin rules to stop make from compiling the intermediate .c files instead of the .4gl's. True? The problem is make's default SUFFIXES list, which contains ".o .c", amongst others. You want to clear the suffixes list by putting an empty ".SUFFIXES:" declaration before your own list. RTFM make(1). ie .SUFFIXES: .SUFFIXES: .o .4gl -- Hugh Grierson Fujitsu/ICL New Zealand - Software Development Centre hugh@nezsdc.icl.co.nz Speaking for myself only. See figure 1. Quote of the decade: "We're not just talking about unpopulated areas of the Southern Hemisphere anymore" [Pres. Bush, on the Ozone hole]