buttons added to java's homework5 and makefile now works as well

This commit is contained in:
shockrahwow
2019-03-16 11:02:20 -07:00
parent 1fac09b579
commit eb82ea7ee2
5 changed files with 104 additions and 19 deletions

View File

@@ -1,8 +1,18 @@
all:
javac App.java Course.java Instructor.java School.java Student.java
cc=~/Downloads/jdk-11.0.2/bin/javac
fxlib=--module-path /home/shockrah/Downloads/javafx-sdk-11.0.2/lib
ctrl=--add-modules javafx.controls
env=~/Downloads/jdk-11.0.2/bin/java
run: all
@java App
jfiles=App.java Course.java Instructor.java School.java Student.java
cfiles=App
all: $(jfiles)
$(cc) $(fxlib) $(jfiles) $(ctrl)
run: $(cfile)
$(env) $(fxlib) $(ctrl) $(cfiles)
.PHONY: clean
clean:
rm -f *class