A more makey makefile
This commit is contained in:
parent
c8ac7ac727
commit
88133117ab
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user