Makefile
上传用户:aidanglao
上传日期:2007-01-07
资源大小:69k
文件大小:1k
源码类别:

Oracle数据库

开发平台:

Unix_Linux

  1. #
  2. # @(#)makefile 1.4 Oracle Makefile 22:13:28 96/01/14
  3. #
  4. LIBHOME =${ORACLE_HOME}/lib
  5. XCC =cc
  6. XCFLAGS =-I. -I../../include -I${ORACLE_HOME}/rdbms/demo
  7. XLDFLAGS=-L../../lib -lSQLweb -llist -L${LIBHOME} $(OCILDLIBS) $(CLIBS)
  8. sqlweb: oradb.o ../../lib/libSQLweb.a
  9. $(XCC) $(XCFLAGS) -o sqlweb ../../lib/swmain.o oradb.o $(XLDFLAGS)
  10. oradb.o: oradb.c
  11. $(XCC) $(XCFLAGS) -c oradb.c
  12. oradb: oradb.c
  13. $(XCC) $(XCFLAGS) -DMAIN_TEST -c oradb.c
  14. $(XCC) $(XCFLAGS) -o oradb oradb.o $(XLDFLAGS)
  15. rm oradb.o
  16. include ${ORACLE_HOME}/rdbms/lib/oracle.mk