Commit 30fb97d051757b12dc6faf7f72ad561076d9739d
1 parent
0853575c
Added vector comparison example.
Showing
3 changed files
with
26 additions
and
3 deletions
examples09/00-vector/makefile
1 | -all: vector1 vector2 vector3 | |
1 | +all: vector1 vector2 vector3 vector4 | |
2 | 2 | |
3 | 3 | vector1: vector1.o |
4 | 4 | g++ -g -Wall -pedantic $^ -o $@ |
... | ... | @@ -18,8 +18,14 @@ vector3: vector3.o |
18 | 18 | vector3.o: vector3.cpp |
19 | 19 | g++ -g -c -Wall -pedantic $< -o $@ |
20 | 20 | |
21 | +vector4: vector4.o | |
22 | + g++ -g -Wall -pedantic $^ -o $@ | |
23 | + | |
24 | +vector4.o: vector4.cpp | |
25 | + g++ -g -c -Wall -pedantic $< -o $@ | |
26 | + | |
21 | 27 | |
22 | 28 | .PHONY: clean |
23 | 29 | |
24 | 30 | clean: |
25 | - -rm vector1.o vector1 vector2.o vector2 vector3.o vector3 | |
26 | 31 | \ No newline at end of file |
32 | + -rm vector1.o vector1 vector2.o vector2 vector3.o vector3 vector4.o vector4 | ... | ... |
examples09/00-vector/vector4.cpp
0 → 100644
examples09/05-unordered_set/makefile