first working plugin demo

This commit is contained in:
tth
2021-09-16 18:31:11 +02:00
parent 3437173612
commit d20a832a8d
6 changed files with 113 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ arguments: arguments.c Makefile
no-op: no-op.c Makefile
gcc -Wall $< -o $@
#------------- IPC
#------------- IPC -----------------------
get-signal: get-signal.c Makefile
gcc -Wall $< -o $@
@@ -35,3 +35,11 @@ fifo-tx: fifo-tx.c my-fifo.h dtime.o Makefile
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 $@