--- a/libConsole/Makefile
+++ b/libConsole/Makefile
@@ -1,8 +1,8 @@
-CC=gcc
-JAVA=java
-JAVAH=javah
-JAVAC=javac
-LIB=lib/libConsole.so
+ CC = gcc
+ JAVA = java
+JAVAH = javah
+JAVAC = javac
+ LIB = lib/libConsole.so
ifdef JAVA_HOME
JAVA_DIR="$(JAVA_HOME)"
@@ -10,13 +10,12 @@
JAVA_DIR=/usr/lib/jvm/java-6-sun
endif
-INCLUDE=-I$(JAVA_DIR)/include -I$(JAVA_DIR)/include/linux -Iinclude
-SOURCES= \
- Getch.java \
- Console.java
+INCLUDE = -I$(JAVA_DIR)/include -I$(JAVA_DIR)/include/linux -Iinclude
-OBJECTS= \
- cross_getch.o
+SOURCES = Getch.java
+SOURCES += Console.java
+
+OBJECTS = cross_getch.o
.SUFFIXES: .java