A more makey makefile
This commit is contained in:
parent
c8ac7ac727
commit
88133117ab
@ -1,10 +1,16 @@
|
||||
CFLAGS ?= -Wall -g
|
||||
|
||||
all: ex1 ex3
|
||||
.PHONY: all
|
||||
all: build test
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f ex1 ex3
|
||||
|
||||
.PHONY: build
|
||||
build: ex1 ex3
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
./ex1
|
||||
./ex3
|
||||
|
Loading…
Reference in New Issue
Block a user