2020-11-24 10:40:57 +11:00
|
|
|
######################################################
|
|
|
|
# TetaTricks
|
|
|
|
#
|
|
|
|
|
|
|
|
# exemples du bouquin
|
|
|
|
|
|
|
|
ex_curses: ex_curses.c Makefile
|
|
|
|
gcc -Wall $< -o $@ -lncurses
|
|
|
|
|
|
|
|
thread-demo: thread-demo.c Makefile
|
|
|
|
gcc -Wall -pthread $< -o $@
|
|
|
|
|
2022-09-12 10:39:21 +11:00
|
|
|
voirenv: voirenv.c Makefile
|
|
|
|
gcc -Wall $< -o $@
|
|
|
|
|
2021-10-05 07:24:01 +11:00
|
|
|
|
2021-09-17 03:31:11 +11:00
|
|
|
#------------- IPC -----------------------
|
2021-08-25 16:18:34 +11:00
|
|
|
|
2021-08-18 18:49:28 +11:00
|
|
|
get-signal: get-signal.c Makefile
|
|
|
|
gcc -Wall $< -o $@
|
2021-08-25 16:18:34 +11:00
|
|
|
|
2021-08-29 02:06:26 +11:00
|
|
|
fifo: fifo-rx fifo-tx
|
|
|
|
|
2021-08-25 16:18:34 +11:00
|
|
|
dtime.o: dtime.c my-fifo.h Makefile
|
|
|
|
gcc -Wall -c $<
|
|
|
|
|
|
|
|
fifo-tx: fifo-tx.c my-fifo.h dtime.o Makefile
|
|
|
|
gcc -Wall $< dtime.o -o $@
|
|
|
|
|
|
|
|
fifo-rx: fifo-rx.c my-fifo.h dtime.o Makefile
|
|
|
|
gcc -Wall $< dtime.o -o $@
|
|
|
|
|
2021-09-17 03:31:11 +11:00
|
|
|
#------------- PLUGIN --------------------
|
|
|
|
|
2021-09-17 03:53:40 +11:00
|
|
|
plugin: plugiciel.so appelant
|
|
|
|
|
2021-09-17 03:31:11 +11:00
|
|
|
plugiciel.so: plugiciel.c plugiciel.h Makefile
|
|
|
|
gcc -Wall -shared -fPIC $< -o $@
|
|
|
|
|
|
|
|
appelant: appelant.c plugiciel.h Makefile
|
|
|
|
gcc -Wall $< -ldl -o $@
|
|
|
|
|
2021-10-05 07:24:01 +11:00
|
|
|
#------------- GRAPHISME --------------------
|
|
|
|
|
|
|
|
flydraw.png: dessiner.fly
|
|
|
|
flydraw < $<
|
|
|
|
convert flydraw.gif flydraw.png
|
|
|
|
|
|
|
|
|