SHARE
TWEET

Untitled

a guest May 16th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PROC=proc
  2. CC=gcc
  3. ORACLE_INLCUDE=$(ORACLE_HOME)/precomp/public
  4. ORACLE_LIB=$(ORACLE_HOME)/lib
  5. PROG=app
  6. CC_FLAGS= -I $(ORACLE_INLCUDE)
  7. CC_LD_FLAG= -L $(ORACLE_LIB) -lclntsh
  8.  
  9.  
  10. all: app
  11.         ./$(PROG)
  12.  
  13. app: simple.c
  14.         $(CC) $(CC_FLAGS) $(CC_LD_FLAG) simple.c -o $(PROG)
  15.  
  16. simple.c: simple.pc
  17.         $(PROC) simple.pc
  18.  
  19. clean:
  20.         rm -rf simple.c simple.lis $(PROG)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top