Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hey Guys i am making a makefile on Linux and im getting this error i cant spot the error can someone help me please I

Hey Guys i am making a makefile on Linux and im getting this error i cant spot the error can someone help me please
I am pretty sure that all my cpp files are in the sources directory
I also attached my makefile.vars
Thank youu
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
s(0B3)ultiplication.o: s(ASH)/muttiptication.s S(GCC) S(DEBUG S(GCC FLAGS) S(Includes) $(ASM) s(OBJ) S(ASM)/main.s: S(GCC) $(PREPRO)/main pp. cpp S(DEBUG) S(GCC FLAGS) S(Includes) S(PREPRO)/main pp.cpp o $(ASM)/main.s $(ASM)/subtraction.s:S(PREPRO/subtraction pp.cpp S(GCC) S $(DEBUG)$(GCC FLAGS) $(Includes) $(PREPRO)/subtraction pp.cpp -o $(ASM)/subtraction's S (ASM)/addition.s: $(PREPRO)/addition pp.cpp s(GCC) s $(DEBUG) $(GCC FLAGS) $(Includes) $(PREPRO)/addition pp.cpp o S(ASM)/addition, s S(ASM)/multiplication.s: $(PREPRO)/multiplication pp.cPp $(GCC) -S$(DEBUG) $(GCC-FLAGS) $(Includes ) $(PREPRO)/multiplication.Pp.cpp\ o $(ASM)/multiplication.s - $ (PREPRO)/main_pp.cpp: $(SOURCES)/main.cpp s(GCC) E $(DEBUG) S(GCC_FLAGS) $(Includes) $(soURCES)/main.cpp O $(PREPRO)/main pp. cpp S(PREPRO)/subtraction pp. cpp: $(SOURCES)/subtraction.cpp S(GCC) E S(DEBUG) S(GCC, FLAGS) s(Includes) s(SOURCES)/subtraction.cppv o $(PREPRO)/subtraltion pp.cpp (PREPRO)/addition_ pp.cpp: $(SOURCES)/addition.cpp s(GCC) E $(DEBUG) S(GCC FLAGS) s(Includes) S(SOURCES)/addition.cpp v o $(PREPRO)/addition pp. cpp (PREPRO)/multiplication pp.cpp: (SOURCES)Multiplication.cpp $(GCC) E $(DEBUG)$(GCC FLAGS) $(Includes) $(SOURCES)/multiplication.cpp O $(PREPRO)/multiplication pp.cpp clean: m -rt $(BIN)/main $(083)/.0 SCASH)/SS(PREPROY/".pp 60.0-1 CSCE 1102-S2019 [R nadamorsy@nadamorsy-VirtualBox: Icsc File Edit View Search Terminal Help # Variable Definition include file Code-Home= $ (HOME )/csce-1102/Assignment.! BIN $ (Code Home)/BIN PREPRO $ (Code Home) /PREPRO ASM=$ (Code-Home) /ASM 0BJ-$ (Code_Home)/OBJ SOURCES $(Code Home)/SOURCES HEADERS= $(Code-Home)/HEADERS GCC-/usr/BIN/g++ DEBUG= -g -c includes= -I $(Code Home)/HEADERS GCC-FLAGS=--std-C++ ncpp headerh sf .tubtaction.cpp nclude makefite.vars S (BIN)/main: $(0BJ)/main.o (0BJ)/subtraction.0 $(083)/addition.o s(0B3)/multiplication.o $(GCC) $ (0B3)/main.o v $ (0B3)/subtraction.o s(0B3)/ addition.o $ (0BJ)/multiplication.o o $(BIN)/main $ (083)ain.o: $(ASM)/main.s s(GCC) o $(DEBUG) $(GCC FLAGS) $(Includes) $(ASM)/main.s v o $(0B3)/main.o (0B3)/subtraction.o: $(ASM)/subtraction.s s(GCC) o $(DEBUG) $(GCC FLAGS) $(Includes) $(ASM)/subtraction.s V o $(0BJ)/subtraction.o $ (083)/addition.o: $(ASM)/addition.s s(GCC) -o $ (DEBUG) S(GCC FLAGS) $(Includes) $(ASM)/addition.s l S (0BJ)/multiplication.o: $ (ASM)/multiplication.s s(GCC) o $(DEBUG) $(GCC FLAGS) $(Includes) S(ASM)/multiplication,s V o $(0B3)/multiplication.o $(ASM)/main.s: $(PREPRO)/main_pp.cpp $(GCC) -S $(DEBUG) $(GCC-FLAGS) $(includes) $(PREPRO)/main-pp.cpp \ o S(ASM)/main.s $(ASM)/subtraction.s:(PREPRO)/subtraction pp.cpp S(Gcc) s $(DEBUG) S(OCC FLAGS) S(IncLudes) S(PREPRo)/subtraction pp.cpp M (Gcc) $(DEBUG) S(GCC FLAGS) s(Includes) S(PREPRO)/addition pp.cPP N (Gcc) s s(DEBUG) S(GCC FLAGS)S(Inctudes) s(PREPRO)/multiptication pp.epp V -o $(ASM)/subtraction.s s(ASM)/addition.s:$(PREPRO)/addition pp.cpp o $(ASM)/addition.s S(ASM)/multiplication.s: $(PREPRO)/multiplication pp. cpp 1.6 Top Sat Feb 1 nadamorsyenadanorsy-virtualBox:-/csce-1102/Assignment 1s make Iicen E stdnc1l "1 /hone nadanorsy/esce-102/Assiqment 1/HEADERS homeadanorsy/rese 112/Assignment 1/SOUR CES/main.cpp -o /homeadamorsy/csce-1102/Assignnent_1/PREPRO/main pp.cpp make: /usr/BIN/g++: Command not found Makefile:43: recipe for target /homeadamorsy/csce 1102/Assignment 1/PREPRO/main pp.cpp failed make: [/homeadamorsy/csce-1102/Assignment 1/PREPRO/main pp.cppl Error 127 nadamorsy@nadamorsy-virtualBox:-/csce-1102/Assignment is vi makefile.vars nadamorsy@nadamorsy-virtualBox:-/csce-1102/Assignment is make /usr/BIN/gH 9C std 1 I /homeadanorsy/csce-1102/Assignment 1/HEADERS ES/main.cpp /homeadamorsy/csce-1102/Assignment 1/soUR o /homeadamorsy/csce-1102/Assignment 1/PREPRO/main pp.cpp ke: /usr/BIN/g+: Command not found Makefile:43: recipe for target '/homeadamorsy/csce- 1102/Assignment 1/PREPRO/main pp.cpp failed make: **[/homeadamorsy/csce-1102/Assignment 1/PREPRO/main pp.cppl Error 127 lddailbrsychadanoPsy-viPtuaLBox:-7csce-1102/Assignment_1/sOURCES$ ls -l toua .0.. 1 nadanorsy nadanorsy 12s Fed l 21 2 mettiglfcation.cp -rwxrwx- 1 nadamorsy nadamorsy 106 Feb 11 22:13 addition.cpp -rwxrwx-. 1 nadamorsy nadamorsy 114 Feb 11 22:38 main.cpp rwxrwx 1 nadamorsy nadamorsy 117 Feb 11 22:22 multiplication.cpp rwxrwx.1 nadamorsy nadamorsy 109 Feb 11 22:24 subtraction. cpp ii 424 SUbtraction.cpp nadamorsy@nadamorsy-VirtualBox:-/csce-1102/Assignment_1/5OURCES$ cd. nadamorsy@nadamorsy-VirtualBox:-/csce-1102/Assignment 1$ cd HEADERS nadamorsy@nadamorsy-VirtualBox:-/csce-1102/Assignment_1/HEADERS$ ls -1 total 4 -rwxrwx 1 nadamorsy nadamorsy 104 Feb 14 11:43 header.h

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

Step: 3

blur-text-image

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

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

Th ey told me Id have to write a lett er. Whos got time for that?

Answered: 1 week ago