How to Submit Lab2
Please note that this Submission guide supercedes any instructions
labeled DELIVERABLES on lab assignment 2.
- (For the first part) Create a directory:
username.lab2.1-3
- There will be three directories each corresponding to a separate
problem. Make sure your name is in every file in a comment block. Every
directory must include a make file to build your
executable code. This make file must include a target clean, for removing all
executables.
- Directory: ex1
This will contain seven files.
- Source code files : main.c, hello.c, bye.c, here.c, mylib.h
- Two Make files, which will build an executable called : main
Makefile1
: for building static library
Makefile2
: for building shared library
- README :
it will contain two lines, the exact command line argument to build an
executable called main
make -f
Makefile1 target
make -f
Makefile2 target
- Directory: ex2
This directory will include at least three files.
- Source code files: You may organize your files anyway you
like.
- Makefile:
it must build your executable named mystat when we type make on the command line.
- README :
This file must include the correct command line syntax (including the
available option in you do the bonus), a brief explanation of your
command (including the extra functionality if you do the bonus) and the
transcript of one example of your command in the default mode (if you
are doing the bonus option, submit a second example showing your option
at work.)
- Directory: ex3
This directory will include at least three files.
- Source code files: You may organize your files anyway you
like.
- Makefile:
it must build your executable name filecopy when we type make on the command line.
- README :
This file must include the correct command line syntax of filecopy and a brief
explanation of what it does. There is no need to send a transcript of
it in action.
- (For the second part submission) Create a directory:
username.lab2.4
- There will be one directory. Make sure your name is in
every file in a comment block. The directory must include a make file to
build your executable code. This make file must include a target clean, for removing all
executables.
- Directory: ex4
This directory will include at least three files.
- Source code files: You may organize your files anyway you
like.
- Makefile:
it must build your executable name my_sig when we type make on the command line.
- README :
This file must include the correct command line syntax of my_sig and a brief
explanation of what it does. There is no need to send a transcript of
it in action.
- When you are finished with your assignment you will create a
compressed archive file using tar
(this utility stores your directory as a single file, then compresses
its size.)
tar -czvf username.lab2.1-3.tgz
username.lab3.1-3
tar -czvf username.lab2.4.tgz
username.lab2.4
- You will email your files to me as attachments.
To |
soner@cs.uchicago.edu |
Attachment |
username.lab2.1-3.tgz |
Subject |
lab2.1-3 |
To |
soner@cs.uchicago.edu |
Attachment |
username.lab2.4.tgz |
Subject |
lab2.4 |