summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-07-27 00:08:38 -0700
committerKeith Packard <keithp@keithp.com>2010-07-27 00:08:38 -0700
commitfb8507975c6e081de2e909eca6faaa8f868b609e (patch)
tree7de29794f8336057f5d4b229cb41511a69596962
parent0a782026f6b19e84ffd44f1ae1b466363474bd30 (diff)
libaltos needs -I. on all systems
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--ao-tools/libaltos/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ao-tools/libaltos/Makefile b/ao-tools/libaltos/Makefile
index 5cdc0fa7..7ed45b78 100644
--- a/ao-tools/libaltos/Makefile
+++ b/ao-tools/libaltos/Makefile
@@ -2,7 +2,7 @@ OS:=$(shell uname)
ifeq ($(OS),Linux)
-JAVA_CFLAGS=-I/usr/lib/jvm/java-6-openjdk/include -I.
+JAVA_CFLAGS=-I/usr/lib/jvm/java-6-openjdk/include
OS_CFLAGS=-DLINUX -DPOSIX_TTY $(JAVA_CFLAGS)
@@ -52,7 +52,7 @@ all: libaltos.$(LIBEXT) cjnitest $(CLASSFILES)
.java.class:
javac -cp "$(CLASSPATH)" $(JAVAFLAGS) $*.java
-CFLAGS=$(OS_CFLAGS) -O0 -g
+CFLAGS=$(OS_CFLAGS) -O0 -g -I.
HEADERS=libaltos.h
SRCS = libaltos.c $(SWIG_WRAP)