Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 5. [4] Given a folder with (exactly) the following files:
- prog1.cc prog2.cc prog3.cc Makefile
- where Makefile has the following contents:
- OBJ= prog1.o prog3.o
- OPTS= -g -c -Wall -Werror
- prog: $(OBJ)
- g++ -o prog $(OBJ)
- prog1.o: prog1.cc prog3.cc
- g++ $(OPTS) prog1.cc
- prog2.o: prog3.cc
- g++ $(OPTS) teststack.cc
- prog3.o:
- g++ $(OPTS) prog3.cc
- Assuming that all the .cc files compile and link correctly and you type make on the command line,
- what will then be the contents of the folder? (List the files)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement