~nhanb/modernc

f3773910ffc8977e8b2426b27a9e1cae9c4ac746 — Nhân 1 year, 3 months ago 7954a7d master
update makefile
2 files changed, 11 insertions(+), 2 deletions(-)

M Makefile
M README.md
M Makefile => Makefile +7 -2
@@ 1,5 1,10 @@
CC = clang -Wall

run: out/bad
	./out/bad

out/bad: bad.c
	c99 -Wall -o out/bad bad.c
	$(CC) -o out/bad bad.c

out/getting-started: getting-started.c
	c99 -Wall -o out/getting-started getting-started.c -lm
	$(CC) -o out/getting-started getting-started.c -lm

M README.md => README.md +4 -0
@@ 1,1 1,5 @@
https://gustedt.gitlabpages.inria.fr/modern-c/

```sh
ls *.c | entr -c make run
```