diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-10-11 22:19:00 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-10-11 22:19:00 +0200 |
| commit | 73c2b00a10c5786ddeeacc915e233fd4df1c9321 (patch) | |
| tree | e299ea4e8ac161b2b21170172ff8f182c1c3fe1a /rushs/tinyprintf/Makefile | |
| parent | c9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c (diff) | |
fix: evalexpr & tinyprintf contenaient toute la piscine
Diffstat (limited to 'rushs/tinyprintf/Makefile')
| -rw-r--r-- | rushs/tinyprintf/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rushs/tinyprintf/Makefile b/rushs/tinyprintf/Makefile new file mode 100644 index 0000000..6a07d90 --- /dev/null +++ b/rushs/tinyprintf/Makefile @@ -0,0 +1,17 @@ +CC=gcc +CFLAGS=-std=c99 -Wall -Wextra -Werror -Wvla -pedantic +LDLIBS=-lcriterion + +all: src/tinyprintf.o + +check: src/tinyprintf.o + $(CC) $(CFLAGS) -o tinytests src/tinyprintf.o tests/tests.c $(LDLIBS) + ./tinytests + +src/tinyprintf.o: src/tinyprintf.c + $(CC) $(CFLAGS) -c -o src/tinyprintf.o src/tinyprintf.c + +.PHONY: clean + +clean: + rm src/tinyprintf.o tinytests |
