We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4549a5d commit f25fa14Copy full SHA for f25fa14
Lab6/Makefile
@@ -5,10 +5,10 @@ all:
5
6
run: run1 run2
7
8
-run1: all
+run1:
9
@cat 1.txt | ./chal
10
11
-run2: all
+run2:
12
@cat 2.txt | ./chal
13
14
clean:
Lab6/validate.sh
@@ -18,11 +18,9 @@ cd $tmp_dir
18
rm -rf *
19
cp $solution_path/Makefile .
20
cp $solution_path/ans .
21
-cp $solution_path/*.c .
22
cp $solution_path/chal .
23
cp $solution_path/*.txt .
24
25
-make
26
make run$1 > out
27
result=$(diff --strip-trailing-cr ans out)
28
if [[ -n $result ]]; then
0 commit comments