Up through ex8

This commit is contained in:
2024-04-16 08:17:54 -04:00
parent 7da7228911
commit af95125894
3 changed files with 27 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
CFLAGS ?= -Wall -g
GDBRUN = gdb --batch --ex run --ex bt --ex q --args
BUILD_TARGETS = ex1 ex3 ex7
BUILD_TARGETS = ex1 ex3 ex7 ex8
.PHONY: all
all: build test
@@ -14,10 +14,10 @@ build: $(BUILD_TARGETS)
.PHONY: gtest
gtest:
$(foreach bt,$(BUILD_TARGETS),$(GDBRUN) ./$(bt) &&) \
echo gyay
@$(foreach bt,$(BUILD_TARGETS),$(GDBRUN) ./$(bt) &&) \
echo ' gYAY'
.PHONY: test
test:
$(foreach bt,$(BUILD_TARGETS),./$(bt) &&) \
echo yay
@$(foreach bt,$(BUILD_TARGETS),./$(bt) &&) \
echo ' YAY'