blob: 3e3ce36a36aad91510ac7e1fef494c4a8f194af7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
CXX=g++
CFLAGS=-g -Wall
COMPILE=$(CXX) $(CFLAGS)
task17:
$(COMPILE) -o task.out task17.cpp
test17: task17
@printf "\n" | ./task.out
@printf "Answer: \n"
task18:
$(COMPILE) -o task.out task18.cpp
test18: task18
@printf "\n" | ./task.out
@printf "Answer: \n"
task19:
$(COMPILE) -o task.out task19.cpp
test19: task19
@printf "\n" | ./task.out
@printf "Answer: \n"
task14:
$(COMPILE) -o task.out task14.cpp
test14: task14
@printf "\n" | ./task.out
@printf "Answer: \n"
clean:
rm -f task.out *.zip
archive: clean
zip archive.zip *.cpp *.h
|