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