46 lines
891 B
Makefile
46 lines
891 B
Makefile
######################################################
|
|
# TetaTricks
|
|
#
|
|
|
|
# exemples du bouquin
|
|
|
|
ex_curses: ex_curses.c Makefile
|
|
gcc -Wall $< -o $@ -lncurses
|
|
|
|
thread-demo: thread-demo.c Makefile
|
|
gcc -Wall -pthread $< -o $@
|
|
|
|
hello: hello.c Makefile
|
|
gcc -Wall $< -o $@
|
|
|
|
arguments: arguments.c Makefile
|
|
gcc -Wall $< -o $@
|
|
|
|
no-op: no-op.c Makefile
|
|
gcc -Wall $< -o $@
|
|
|
|
#------------- IPC -----------------------
|
|
|
|
get-signal: get-signal.c Makefile
|
|
gcc -Wall $< -o $@
|
|
|
|
fifo: fifo-rx fifo-tx
|
|
|
|
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 $@
|
|
|
|
#------------- PLUGIN --------------------
|
|
|
|
plugiciel.so: plugiciel.c plugiciel.h Makefile
|
|
gcc -Wall -shared -fPIC $< -o $@
|
|
|
|
appelant: appelant.c plugiciel.h Makefile
|
|
gcc -Wall $< -ldl -o $@
|
|
|