Commit 1480a444 authored by OUADHDHAFE Hamza's avatar OUADHDHAFE Hamza

final version

parent 8b9f637f
JFLAGS = -g
JC = javac
JVM= java
.SUFFIXES: .java .class
.java.class:
$(JC) $(JFLAGS) $*.java
$(JVM) $(MAIN)
jar -cvf ws.jar Main.class
CLASSES = \
Main.java
MAIN = Main
default: classes
classes: $(CLASSES:.java=.class)
run: $(MAIN).class
$(JVM) $(MAIN)
mrproper:
$(RM) *.class
docker-build :
@sudo docker build -f Dockerfile -t sparkles .
docker-run :
@sudo docker run --rm sparkles
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