Skip to content
Snippets Groups Projects
Commit 3d6ffdb7 authored by BeomSooHeo's avatar BeomSooHeo
Browse files

Update 2020_08_07.md

parent 308f298a
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
## Makefile 작성
![image](/uploads/2b616358fe0f4a5ab67dc54515d76676/image.png)
![image](/uploads/207385cc52acac66bb00a712bd2b136b/image.png)
<br><br>
### 1.매크로 정의
> 1. SRCS : 컴파일에 필요한 소스파일들을 의미
......@@ -61,7 +61,7 @@ Object 파일을 따로 생성해두지 않고 바로 빌드를 하는 경우도
5. Result1: PRINT_ID가 정의됨:: 빌드 결과 생성된 실행파일도 제대로 수행된다. (PRINT_ID가 정의되었으므로, 0을 출력한다.)<br>
이때 make MACRO=-DPRINT_ID 를 통해 PRINT_ID 에 대한 MACRO 선언을 전달하였다.
<br><br>
![image](/uploads/8f61ba5e370b6245d22604970503fe48/image.png)
![image](/uploads/b2ebc3799702138a73d956a0fbde150d/image.png)
<br><br>
6. make clean 결과로 생성되었던 Object 파일과 실행 파일을 제거한 후 결과확인.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment