GNU Make version 3.79.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GNU Make version 3.79.1

Lane Kong (LCL)
Hi,

I have a problem need someone help me out. I use the GNU make utility to compile a Oracle Pro*C file into executable, but no matter how I play around the make file, I could not keep the middle temporary C file which is created by Pro*C compiler and this middle file was always automatically removed after the final target was created.

/x/dev/sbt/src/lib/edit.pl sbt0202.ppc

proc code=ANSI_C SQLCHECK=syntax include=/sys2/oracle/product/9.2.0/precomp/publ
ic iname=sbt0202.pc

Pro*C/C++: Release 9.2.0.5.0 - Production on Mon Jun 27 22:38:36 2005

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

System default option values taken from: /sys2/oracle/product/9.2.0/precomp/admi
n/pcscfg.cfg

cc -DDEBUG -g -D_POSIX_SOURCE   -I. -I/sys2/oracle/product/9.2.0/precomp/public
-I/usr/include  -I/usr/include/sys  -c sbt0202.c
sbt0202.c:1078:1: warning: no newline at end of file

cc -DDEBUG -g -D_POSIX_SOURCE   -I. -I/sys2/oracle/product/9.2.0/precomp/public
-I/usr/include  -I/usr/include/sys  -c sbt0201.c

----> Building "sbt020"
cc -g -o sbt020  sbt0202.o sbt0201.o -L. -L/sys2/oracle/product/9.2.0/lib  -L/us
r/lib   -ldl -lclntsh -lm -lc  -L../lib -lsbt  ;
----> TARGET "sbt020" - DONE

rm sbt0202.c sbt0202.pc <=== Not expected!!!!!


Thanks for the help.

Lane Kong
ISD, LPL/Finance Systems
Loblaw Company Limited
6 Monogram Place
Toronto, Ontario
Canada

Tel: (416) 240-3335
Email: [hidden email]




_______________________________________________
Bug-make mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-make
Reply | Threaded
Open this post in threaded view
|

Re: GNU Make version 3.79.1

Paul Smith-20
Hi Lane; please try to use a descriptive subject line for your email,
relating to the problem you're having.  Including the version of GNU
make is very important (thanks!) but better reserved for the body of
your message, along with other critical information like the type of
system you're running GNU make on, etc.

%% "Lane Kong \(LCL\)" <[hidden email]> writes:

  lk> I have a problem need someone help me out. I use the GNU make
  lk> utility to compile a Oracle Pro*C file into executable, but no
  lk> matter how I play around the make file, I could not keep the
  lk> middle temporary C file which is created by Pro*C compiler and
  lk> this middle file was always automatically removed after the final
  lk> target was created.

Read about intermediate files in the GNU make manual (try the section
"Chains of Implicit Rules").

--
-------------------------------------------------------------------------------
 Paul D. Smith <[hidden email]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/bug-make