libConsole/Makefile
changeset 166 ecd6492274ad
parent 149 5acf77b9b7a0
equal deleted inserted replaced
165:f551b78c3eee 166:ecd6492274ad
    11 OBJECTS  = cross_getch.o
    11 OBJECTS  = cross_getch.o
    12 
    12 
    13 ifdef JAVA_HOME
    13 ifdef JAVA_HOME
    14 	JAVA_DIR="$(JAVA_HOME)"
    14 	JAVA_DIR="$(JAVA_HOME)"
    15 else
    15 else
    16 	JAVA_DIR=/usr/lib/jvm/java-6-sun
    16 	JAVA_DIR=/usr/lib/jvm/java-6-openjdk-amd64
    17 endif
    17 endif
    18 
    18 
    19 INCLUDE = -I$(JAVA_DIR)/include -I$(JAVA_DIR)/include/linux -Iinclude
    19 INCLUDE = -I$(JAVA_DIR)/include -I$(JAVA_DIR)/include/linux -Iinclude -fPIC
    20 
    20 
    21 .SUFFIXES: .java
    21 .SUFFIXES: .java
    22 
    22 
    23 .c.o:
    23 .c.o:
    24 	@echo "JAVA_HOME=$(JAVA_DIR)"
    24 	@echo "JAVA_HOME=$(JAVA_DIR)"