2023-02-11 22:19:00 +11:00
|
|
|
|
|
|
|
# exemples pour le chapitre sur le C
|
|
|
|
# new Sat Feb 11 12:06:34 CET 2023
|
|
|
|
|
2024-09-11 08:00:32 +11:00
|
|
|
|
2024-08-09 01:05:30 +11:00
|
|
|
all: no-op slowprint fgets-simple packtest use_envp
|
2023-09-01 21:37:36 +11:00
|
|
|
|
2024-09-11 08:00:32 +11:00
|
|
|
# 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 $@
|
|
|
|
|
2023-02-11 22:19:00 +11:00
|
|
|
no-op: no-op.c Makefile
|
|
|
|
gcc -Wall $< -o $@
|
|
|
|
|
|
|
|
slowprint: slowprint.c Makefile
|
|
|
|
gcc -Wall $< -o $@
|
|
|
|
|
2023-07-15 18:55:13 +11:00
|
|
|
fgets-simple: fgets-simple.c Makefile
|
|
|
|
gcc -Wall $< -o $@
|
|
|
|
|
2023-09-01 21:37:36 +11:00
|
|
|
demo-strtok: demo-strtok.c Makefile
|
|
|
|
gcc -Wall $< -o $@
|
2024-03-27 21:05:42 +11:00
|
|
|
|
|
|
|
# added Wed Mar 27 10:01:41 UTC 2024
|
|
|
|
packtest: packtest.c
|
|
|
|
gcc -Wall $< -o $@
|
2024-08-09 01:05:30 +11:00
|
|
|
|
|
|
|
# added Thu Aug 8 13:44:58 UTC 2024
|
|
|
|
use_envp: use_envp.c Makefile
|
|
|
|
gcc -Wall $< -o $@
|
|
|
|
|