oops
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 15 Dec 2009 20:36:21 +0000 (20:36 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 15 Dec 2009 20:36:21 +0000 (20:36 +0000)
Makefile

index af27b1d..9fec183 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ splice_stub.o: splice_stub.c
        gcc -c -I /usr/lib/ocaml -I /usr/lib64/ocaml splice_stub.c -o splice_stub.o
 
 vsys: ocaml_inotify-0.4/inotify.cmxa globals.cmx fdwatcher.cmx conffile.cmx splice_stub.o splice.cmx dirwatcher.cmx fifowatcher.cmx frontend.cmx unixsocketwatcher.cmx backend.cmx main.cmx 
-ifeq "$(OCAML_OLD)" ""
+ifneq "$(OCAML_OLD)" ""
        ocamlopt -I ocaml_inotify-0.4 str.cmxa unix.cmxa inotify.cmxa globals.cmx fdwatcher.cmx dirwatcher.cmx splice.cmx splice_stub.o directfifowatcher.cmx unixsocketwatcher.cmx  frontend.cmx backend.cmx str.cmxa conffile.cmx main.cmx -o vsys
 else
        ocamlopt -I ocaml_inotify-0.4 str.cmxa unix.cmxa inotify.cmxa globals.cmx fdwatcher.cmx dirwatcher.cmx splice.cmx splice_stub.o directfifowatcher.cmx unixsocketwatcher.cmx  frontend.cmx backend.cmx conffile.cmx main.cmx -o vsys