How to Submit Lab2
- (For the first part) Create a directory:
username.lab2.1
- There will be two files in this directory: You must have your name on the first line of each file.
- ex1.awk : The awk script file for exercise 1.
- ex1.rain : The command line argument and the output of your awk script ex1.awk
- (For the second part) Create a directory:
username.lab2.2
- There will be eight files in this directory, make sure your name is in every file in a comment block.
- 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
- 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.tgz
username.lab2.1
tar -czvf username.lab2.2.tgz
username.lab2.2
- You will email your files to me as attachments.
To |
soner@cs.uchicago.edu |
Attachment |
username.lab2.1.tgz |
Subject |
lab2.1 |
To |
soner@cs.uchicago.edu |
Attachment |
username.lab2.2.tgz |
Subject |
lab2.2 |