patch on Makefiles

This commit is contained in:
tTh
2024-09-10 23:00:32 +02:00
parent 57973a0bc7
commit 7ee4eb0930
3 changed files with 18 additions and 14 deletions

View File

@@ -2,8 +2,17 @@
# exemples pour le chapitre sur le C
# new Sat Feb 11 12:06:34 CET 2023
all: no-op slowprint fgets-simple packtest use_envp
# simplified version of the canonical first C program
hello: hello.c Makefile
gcc -Wall $< -o $@
# please show me the command line
arguments: arguments.c Makefile
gcc -Wall $< -o $@
no-op: no-op.c Makefile
gcc -Wall $< -o $@