Commit 9d3b7f5a authored by HankG's avatar HankG

Added Kotlin to makefile and Linux ini file

parent 04a3645f
......@@ -34,6 +34,13 @@ COPTS := -O3 -fomit-frame-pointer
-mv $< $(TEST).java
-$(JDKC) -d . $(TEST).java
########################################
# kotlin
########################################
%.kotlin_run: %.kotlin
-mv $< $(TEST).kt
-$(KOTLINC) $(TEST).kt -include-runtime -d $(TEST).jar
########################################
# gcc
......
......@@ -22,13 +22,14 @@
PYTHON = python
; java and javac are not on the path
;JDKRUN = java
;JDKC = javac
JDKRUN = /usr/local/src/jdk1.6.0_25/bin/java
JDKC = /usr/local/src/jdk1.6.0_25/bin/javac
JDKRUN = java
JDKC = javac
;JDKRUN = /usr/local/src/jdk1.6.0_25/bin/java
;JDKC = /usr/local/src/jdk1.6.0_25/bin/javac
KOTLINRUN = kotlin
KOTLINC = kotlinc
;;; 2) WHAT COMMAND LINE SHOULD BE USED TO RUN THE PROGRAMS?
......@@ -55,7 +56,7 @@ java = $JDKRUN $JDKFLAGS -server %T %A
;javaxint = $JDKRUN $JDKFLAGS -server -Xint %T %A
kotlin = $KOTLINRUN -classpath %T.jar %T %A
;;; 3) WHICH PROGRAMS AND LANGUAGE IMPLEMENTATIONS SHOULD BE MEASURED?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment