Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello I am trying to run execute a makefile within the terminal, but I am running into a problem where it gives me an output
Hello I am trying to run execute a makefile within the terminal, but I am running into a problem where it gives me an output *** No rule to make target `abacmonitor.zip', needed by `unzip'. Stop. I have used the following example that my professor had with my own classes, but I've never really worked on a makefile. Its suppose to be a zip file with all my classes. I don't know if the make file is suppose to be within the same zip file. JFLAGS=-g JC=javac MAIN=Main ZIP=abacmonitor.zip .SUFFIXES: .java .class .java.class: $(JC) $(JFLAGS) $*.java CLASSES = \ ABACPolicyLoader.java \ CommandParser.java \ ABAC.java all: $(CLASSES) classes echo "java $(MAIN)" '$$1' > abacmonitor chmod 777 abacmonitor $(CLASSES): unzip unzip: $(ZIP) unzip $(ZIP) classes: $(CLASSES:.java=.class) clean: $(RM) *.class abacmonitor *.java rmdir __MACOSX
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started