Question
//MAKEFILE compiler = g++ Header = ./class.h className1 = systems_Programming.cpp className2 = senior_Capstone.cpp className3 = operating_Systems.cpp class = class.cpp build: mkdir exec $(compiler) -o COSC4348
//MAKEFILE
compiler = g++ Header = ./class.h className1 = systems_Programming.cpp className2 = senior_Capstone.cpp className3 = operating_Systems.cpp class = class.cpp build: mkdir exec $(compiler) -o COSC4348 $(Header) $(class) $(className1) $(compiler) -o COSC4354 $(Header) $(class) $(className2) $(compiler) -o COSC3346 $(Header) $(class) $(className3) run: ./COSC4348 ./COSC4354 ./COSC3346
remove: rm -r COSC*
move:
mv COSC4348 COSC4354 COSC3346 ../home/students/*****/****/HW1/EXEC
clean: rm -r COSC* exec
// i understand that the call *make move* will not move the compiled files into the directory EXEC because they are not directories.. what command or work around can i use to
//move those 3 compiled files into a new directory. It is a requirement that i cannot skip. This is using g++ shell compiler
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