Re: Makefile for ESQL/C?
Posted in 1996
Rajendra_Singh@msn.com (Rajendra Singh) wrote: >Does someone have a "makefile" which will compile and link and ESQL/C >program? For example, I'd like a makefile whereby I type "make -f >mkfilename PROGRAMNAME" and it will compile and link "PROGRAMNAME". >I've experimented with a few make files, but I can't get it do what I >want. >Any help is appreciated. Thanks. >--- >Rajendra Singh, B. Sc. (Rajendra_Singh@msn.com) >"What is understood need not be discussed." - Loren Adams Sure. Be sure to use .SUFFIXES .o .ec .ec.o : esql -c $*.ec -rm $*.c OBJ = file1.o file2.o PROGRAMNAME : $OBJ esql ${OBJ} -o PROGRAMNAME Danni Bauer Dbauer@concentric.net Unix/Informix/C A Member of The HTML Writers Guild <a href="http://www.concentric.net/~Dbauer">Home Page</a>