Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!