Re: Need help in ProC compilation/makefile

From: Tim Woodward <twood_at_windward.it.uswc.uswest.com>
Date: 6 Mar 93 00:04:58 GMT
Message-ID: <C3FxKB.Iy8_at_da_vinci.it.uswc.uswest.com>


In article <1n8barINN41j_at_menudo.uh.edu> namita_at_cs.uh.edu (Namita Tripathy) writes:
>
>Hi!,
>I am writing an application in C using embedded SQL and Motif. I am using ProC
>on DEC/Sun Unix machines. I wanted to know how to write a makefile so that
>both the ProC compilations and C/Motif compilations are done in one single
>makefile.
>
>I was not too sure about the ProC part of the makefile. After compiling a .pc
>file, what is the resulting object file extension. Any pointers in this regard
>would be greatly appreciated. I would appreciate a response to namita_at_cs.uh.edu,
>instead of the newsgroup.
>
>Thanks
>
>Namita
>

 Try something like this:

file.o: file.c

                cc $(CFLAGS) -c file.c

file.c: file.pc

		proc USER=user/password INAME=file.pc ONAME=file.c IRECLEN=180 
		  ORECLEN=180 SQLCHECK=FULL RELEASE_CURSOR=YES


Tim Woodward Received on Sat Mar 06 1993 - 01:04:58 CET

Original text of this message