On Wed, 23 Sep 2015 10:41:30 -0600, Jack J. Woehr wrote: > >http://www.redantigua.com/c-make-hello-world-main.html ... hello.c example >with makefile. You could copy the files into >USS and try the make command and see what happens. > Eek! You mean they're not in USS!? I had assumed that since he wrote of distinct suffixes ".C" and ".c" (the latter unlikely in PDS) that they were there already.
On Wed, 23 Sep 2015 10:42:18 -0600, Jack J. Woehr wrote: >Paul Gilmartin wrote: >> If the standard prefix rules include both ".c.o:" and ".C.o:" you may not >> I just checked; /etc/startup.mk has: .c$O: $(CC) $(CFLAGS) -c $< .C$O: $(CCC) $(CCFLAGS) -c $< >> even need a Makefile. Simply: >> >> make $( ls *.[cC] | sed 's/\.[cC]$/.o/' ) # (Untested.) >> You mean, just about the "Untested" part, right? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN