A more makey makefile

This commit is contained in:
Dan Buch 2024-04-15 19:59:15 -04:00
parent c8ac7ac727
commit 88133117ab
Signed by: meatballhat
GPG Key ID: A12F782281063434

View File

@ -1,10 +1,16 @@
CFLAGS ?= -Wall -g CFLAGS ?= -Wall -g
all: ex1 ex3 .PHONY: all
all: build test
.PHONY: clean
clean: clean:
rm -f ex1 ex3 rm -f ex1 ex3
.PHONY: build
build: ex1 ex3
.PHONY: test
test: test:
./ex1 ./ex1
./ex3 ./ex3