(*)+bsearch to makefile recipes, +ignoring *.txt files

This commit is contained in:
2023-07-10 14:12:31 +01:00
parent b662f16eff
commit b8b541efbc
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@@ -1,2 +1,3 @@
*.out *.out
*.fasl *.fasl
*.txt

View File

@@ -9,6 +9,9 @@ btree.out: btree.cpp
list.out: list.cpp list.out: list.cpp
$(CC) $(CFLAGS) $^ -o $@ $(CC) $(CFLAGS) $^ -o $@
bsearch.out: bsearch.cpp
$(CC) $(CFLAGS) $^ -o $@
.PHONY: run .PHONY: run
run: $(OUT) run: $(OUT)
./$^ ./$^