TetaTricks/code/Makefile

64 lines
1.2 KiB
Makefile
Raw Normal View History

2020-11-24 00:40:57 +01: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 $@
2021-07-30 23:45:42 +02:00
hello: hello.c Makefile
gcc -Wall $< -o $@
arguments: arguments.c Makefile
gcc -Wall $< -o $@
2021-08-13 09:24:46 +02:00
no-op: no-op.c Makefile
gcc -Wall $< -o $@
2021-10-04 22:24:01 +02:00
#------------- OSC -----------------------
osc: send-osc listen-osc
send-osc: send-osc.c Makefile
gcc -Wall $< -llo -o $@
listen-osc: listen-osc.c Makefile
gcc -Wall $< -llo -o $@
2021-09-16 18:31:11 +02:00
#------------- IPC -----------------------
2021-08-25 07:18:34 +02:00
2021-08-18 09:49:28 +02:00
get-signal: get-signal.c Makefile
gcc -Wall $< -o $@
2021-08-25 07:18:34 +02:00
2021-08-28 17:06:26 +02:00
fifo: fifo-rx fifo-tx
2021-08-25 07:18:34 +02: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-16 18:31:11 +02:00
#------------- PLUGIN --------------------
2021-09-16 18:53:40 +02:00
plugin: plugiciel.so appelant
2021-09-16 18:31:11 +02: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-04 22:24:01 +02:00
#------------- GRAPHISME --------------------
flydraw.png: dessiner.fly
flydraw < $<
convert flydraw.gif flydraw.png