X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ocaml_inotify-0.4%2FMakefile;h=43c691e79f0a43fb372906e5aff2225df2a4ae5e;hb=HEAD;hp=7dd187a8e1fe8262f9063dba5b4394de3e1e9e7b;hpb=aa7c67773cf931cb64477ccdc17dbdd4289f1085;p=vsys.git diff --git a/ocaml_inotify-0.4/Makefile b/ocaml_inotify-0.4/Makefile index 7dd187a..43c691e 100644 --- a/ocaml_inotify-0.4/Makefile +++ b/ocaml_inotify-0.4/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -Wall -O2 +CFLAGS = -Wall -O2 -fPIC OCAMLC = ocamlc OCAMLOPT = ocamlopt @@ -33,7 +33,7 @@ inotify.cmxa: inotify_stubs.o inotify.cmx $(OCAMLOPT) $(OCAMLOPTFLAGS) -c -o $@ $< %.o: %.c - $(CC) -I /usr/lib/ocaml $(CFLAGS) -c -o $@ $< + $(CC) -I /usr/lib/ocaml -I /usr/lib64/ocaml $(CFLAGS) -c -o $@ $< test.inotify: inotify.cmxa test.inotify.ml $(OCAMLOPT) -o $@ unix.cmxa $+