Need help regarding compilation of Motif and embedded SQL C source code

From: Namita Tripathy <namita_at_cs.uh.edu>
Date: 4 Mar 1993 20:24:47 GMT
Message-ID: <1n5oifINNhs2_at_menudo.uh.edu>


Hi,
I was wondering if someone could help me with a question I have. I have a program that is actually made up of 4 modules -- a main.c (containing main and function calls), a func.c (containing functions), a extern.h (containing extern variable declarations) and a globals.h (containing global declarations). These files have C and Motif source code. I have already got a makefile to compile them and it works fine so far.
Now, I have to embed the .c programs with SQL statements (I am using ORACLE RDBMS), and I will be using ProC to compile them.

I wanted to know how I could compile the programs with the ProC compiler and then compile with the makefile I have already written. In other words, how should I go about writing a makefile to do the ProC compilation and the Motif compilation in one single make command.

If anybody out there knows any solution to the above query, I would greatly appreciate the response at namita_at_cs.uh.edu. I don't read the newsgroup too often, so I'd prefer the e-mail address.

Thanks a lot.

Namita. Received on Thu Mar 04 1993 - 21:24:47 CET

Original text of this message