Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Deductive And Object Oriented Databases Second International Conference Dood 91 Munich Germany December 18 1991 Proceedings Lncs 566

Authors: Claude Delobel ,Michael Kifer ,Yoshifumi Masunaga

1st Edition

3540550151, 978-3540550150

More Books

Students also viewed these Databases questions