new semester here we go
This commit is contained in:
1
338/scripts/make.sh
Normal file
1
338/scripts/make.sh
Normal file
@@ -0,0 +1 @@
|
||||
javac --module-path /home/shockrah/Downloads/javafx-sdk-11.0.2/lib $1 --add-modules javafx.controls
|
||||
14
338/scripts/makefile
Normal file
14
338/scripts/makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
cc=javac
|
||||
fxlib=--module-path /home/shockrah/Downloads/javafx-sdk-11.0.2/lib
|
||||
ctrl=--add-modules javafx.controls
|
||||
|
||||
env=java
|
||||
cfile="adsf"
|
||||
|
||||
default: %.java
|
||||
# takes a java file as entry to build
|
||||
$(cc) $(fxlib) $< $(ctr)
|
||||
|
||||
# ouchie
|
||||
run:
|
||||
$(env) $(fxlib) $(ctrl) $(cfile)
|
||||
2
338/scripts/run.sh
Normal file
2
338/scripts/run.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
[ -z $1 ] && echo "no target" && exit 1
|
||||
java --module-path /home/shockrah/Downloads/javafx-sdk-11.0.2/lib --add-modules javafx.controls $1
|
||||
Reference in New Issue
Block a user