Commit 43103bca authored by Michael's avatar Michael

just commit

parent d39c14a5
......@@ -2,7 +2,7 @@ progname=exercise_06_33
CC=g++
CFLAGS=-Wall -Wextra -Werror -g3
all: test1 test2 test3 test4 test5 test6
all: test1 test2 test3 test4 test5 test6 test7 test8
debug/$(progname): debug/$(progname).o
$(CC) $(CFLAGS) $< -o $@
......@@ -20,11 +20,11 @@ debug:
mkdir -p debug
clean:
rm -r debug *.out
rm -r debug Tests/*.out
test%: debug/$(progname)
./debug/$(progname) < $@.in > $@.out || echo "$@ is executing..."
diff $@.out $@.expected && echo PASSED || echo FAILED
@./debug/$(progname) < Tests/$@.in > Tests/$@.out && echo "$@ is executing..."
@diff Tests/$@.out Tests/$@.expected && echo PASSED || echo FAILED
.PRECIOUS: debug/%.ii debug/%.s
.SECONDARY: debug/%.ii debug/%.s
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment