updated makefile
This commit is contained in:
parent
d22c0606c1
commit
dc96712a2d
5 changed files with 15 additions and 14 deletions
16
makefile
16
makefile
|
|
@ -12,13 +12,19 @@ build/tape.o: tape.c build
|
|||
build:
|
||||
mkdir -p build
|
||||
|
||||
tests:
|
||||
mkdir -p tests
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
rm -rf build tests
|
||||
|
||||
run: build/main
|
||||
build/main -f tests/2.in | less
|
||||
run: build/main tests/1.in
|
||||
build/main -f tests/1.in | less
|
||||
|
||||
debug: build/main
|
||||
lldb -- build/main -f tests/2.in
|
||||
debug: build/main tests/1.in
|
||||
lldb -- build/main -f tests/1.in
|
||||
|
||||
tests/1.in: build/main tests
|
||||
build/main -f tests/1.in -r
|
||||
|
||||
.PHONY: clean run debug
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue