Skip to content

Commit bc2102d

Browse files
authored
Patch 4-OCI DRCP Makefile (#214)
* Create makefile Makefile for the Oracle Call Interface samples * Placeholder for makefile * Add DRCP code related changes to makefile * Added Copyright and Year
1 parent 8bab133 commit bc2102d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

C/makefile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) 2022, Oracle. All rights reserved.
2+
# Makefile for Oracle OCI Database Resident Connection Pooling (DRCP) Example
3+
# Christopher Jones, 2022
4+
5+
IC=$(HOME)/instantclient_19_11
6+
OLIB=$(IC)
7+
OINC=$(IC)/sdk/include
8+
9+
#OH=/u01/app/oracle/product/12.1.0/dbhome_1
10+
#OLIB=$(OH)/lib
11+
#OINC=$(OH)/rdbms/public
12+
13+
drcp: clean
14+
$(CC) -Wall -Wextra -c -I$(OINC) drcp.c
15+
$(CC) -o drcp drcp.o -Wl,--rpath -Wl,$(OLIB) -L$(OLIB) -lclntsh
16+
17+
clean:
18+
rm -f drcp.o drcp

0 commit comments

Comments
 (0)