SLIDE 1
CS ¡162 ¡ Intro ¡to ¡Computer ¡Science ¡II ¡
Makefiles ¡
1 ¡
CS 162 Intro to Computer Science II Makefiles 1 - - PowerPoint PPT Presentation
CS 162 Intro to Computer Science II Makefiles 1 Outline Terminology Makefile Contents Rules Targets Dependencies Variables 2
1 ¡
2 ¡
3 ¡
4 ¡
5 ¡
6 ¡
7 ¡
8 ¡
9 ¡
10 ¡
11 ¡
12 ¡
CXX = g++ HEADERS = functions.hpp program1: functions.o main.o ${HEADERS} ${CXX} functions.o main.o –o program1 functions.o: functions.cpp ${CXX} –c functions.cpp main.o: main.cpp ${CXX} –c main.cpp
13 ¡
14 ¡
15 ¡
16 ¡
17 ¡