Skip to content

Commit 3c05ed2

Browse files
authored
Add readme for "compile.sh"
1 parent dc07936 commit 3c05ed2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
# small-codes
22
자잘한 생활의 코드들
3+
- [compile.sh](#compilesh)
34
- [lets-select.py](#lets-selectpy)
45

6+
7+
8+
* * *
9+
### compile.sh
10+
###### When?
11+
December 2018 <br/>
12+
###### Background
13+
C프로그래밍 시험을 마치고 채점을 해야 한다. 짧은 shell script를 통해 한번에 여러개의 파일을 컴파일 해보자. 이 때 실행파일 이름은 ```.out``` 확장자를 사용하자.<br/>
14+
###### What & How
15+
- 홈 디렉토리에는 ```\*번 문제``` 에 대한 학생 제출 코드가 담긴 ```p1```,```p2```,```p3```,```p4``` 네 개의 디렉토리와 ```compile.sh```가 있다.
16+
- 실행파일 이름을 정하느라 [working with filenames in bash](http://mindspill.net/computing/linux-notes/working-with-filenames-in-bash/)를 참고하였다.
17+
- 컴파일 명령어로 ```gcc -o (생성될 실행파일) (학생 제출 코드)```를 사용하였다.
518
* * *
619
### lets-select.py
720
###### When?

0 commit comments

Comments
 (0)