all: main ./main main: main.o g++ -o main -L$(ORACLE_HOME)/lib/ -lclntsh \ `cat $(ORACLE_HOME)/lib/sysliblist` -lm \ main.o main.o: main.c g++ \ -D_REENTRANT -DPRECOMP \ -I. -I$(ORACLE_HOME)/precomp/public \ -I$(ORACLE_HOME)/rdbms/public \ -I$(ORACLE_HOME)/rdbms/demo \ -I$(ORACLE_HOME)/plsql/public \ -I$(ORACLE_HOME)/network/public \ -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD \ -c main.c main.c: main.pc proc iname=main.pc code=cpp sys=include=(/usr/include,/usr/include/linux,/usr/include/g++-3,/usr/lib/gcc-lib/i386-redhat-linux/2.96/include) clean: rm -f *.core *.c *.o main