[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DDL-ML] Small patch and some suggestions.
Hi,
sorry if this is a multiple copy, my mailer crashed and I can't tell
if this went out...
Just compiled DDL for the first time. Connection to Lenz boosters with
a quick and dirty interface (2 100Ohm resistors to have som current
limit). Here are some impressions. Anyone using a mouse/trackball with
the j-man? Walkaround radio trackball would be cool.
# /usr/src/DDL/erddcd/erddcd -help
-c <delay> (enable shortcut checking, reaction delay in usec)
^^^^^^^^
May I suggest
s/shortcut/short circuit/g on the source?
Makefile for the gameport handler:
Needed to customize the INCLUDES for most setups, I guess. I made the
compile and link stages different targets.
--- Makefile~ Sun Jan 9 21:39:33 2000
+++ Makefile Fri Dec 8 04:52:20 2000
@@ -1,7 +1,8 @@
CC = gcc
#INCLUDES = -I/usr/lib/java/include -I/usr/lib/java/include/genunix
-INCLUDES = -I/opt/JAVA/jdk-1.1.8/include -I/opt/JAVA/jdk-1.1.8/include/linux
+INCLUDES = -I/usr/java/jdk1.3/include -I/usr/java/jdk1.3/include/linux
+#INCLUDES = -I/opt/JAVA/jdk-1.1.8/include -I/opt/JAVA/jdk-1.1.8/include/linux
#INCLUDES = -I/opt2/JAVA/jdk1.1.6/include -I/opt2/JAVA/jdk1.1.6/include/solaris
all: GameportHandler.class libgpnative.so
@@ -13,8 +14,9 @@
test.class:
javac test.java
-libgpnative.so: gameport_GameportHandler.c gameport_GameportHandler.h
+gameport_GameportHandler.o: gameport_GameportHandler.c gameport_GameportHandler.h
gcc -c gameport_GameportHandler.c $(INCLUDES)
+libgpnative.so: gameport_GameportHandler.o
ld -G gameport_GameportHandler.o -o libgpnative.so
jni-header: GameportHandler.java
Harald.