--- libreadline-java-0.8.0/src/Makefile 2017-12-18 11:50:48.209823175 +0100 +++ libreadline-java-0.8.0/src/Makefile 2017-12-18 11:51:06.361823244 +0100 @@ -2,11 +2,12 @@ # BUILD=../build +NATIVE=native -all : java native +all : . java native java: always $(BUILD) - $(JAVAC) $(JC_FLAGS) -d $(BUILD) `find . -name "*.java"` + $(JAVAC) $(JC_FLAGS) -d $(BUILD) -h $(NATIVE) `find . -name "*.java"` native: always cd native ; $(MAKE) T_LIBS="$(T_LIBS)" JAVAINCLUDE="$(JAVAINCLUDE)" \ --- libreadline-java-0.8.0/src/native/Makefile 2017-12-18 11:50:48.209823175 +0100 +++ libreadline-java-0.8.0/src/native/Makefile 2017-12-18 11:52:03.693823460 +0100 @@ -103,14 +103,10 @@ getline.$(OBJ_EXT): getline.c $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -D$(TG) -c getline.c -org_gnu_readline_Readline.$(OBJ_EXT): org_gnu_readline_Readline.h \ - org_gnu_readline_Readline.c - $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -D$(TG) \ - -c org_gnu_readline_Readline.c +org_gnu_readline_Readline.$(OBJ_EXT): org_gnu_readline_Readline.h org_gnu_readline_Readline.c + $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -D$(TG) -c org_gnu_readline_Readline.c org_gnu_readline_Readline.h: $(BUILDDIR)/org/gnu/readline/Readline.class - javah -classpath $(BUILDDIR) -jni org.gnu.readline.Readline - touch org_gnu_readline_Readline.h clean: -rm -f org_gnu_readline_Readline.h \ Only in libreadline-java-0.8.0/src/native: Makefile.orig