Fixed an issue that was breaking build.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 12 Oct 2007 18:21:06 +0000 (18:21 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 12 Oct 2007 18:21:06 +0000 (18:21 +0000)
ocaml_inotify-0.4/Makefile

index bfb397d..7dd187a 100644 (file)
@@ -33,7 +33,7 @@ inotify.cmxa: inotify_stubs.o inotify.cmx
        $(OCAMLOPT) $(OCAMLOPTFLAGS) -c -o $@ $<
 
 %.o: %.c
-       $(CC) $(CFLAGS) -c -o $@ $<
+       $(CC) -I /usr/lib/ocaml $(CFLAGS) -c -o $@ $<
 
 test.inotify: inotify.cmxa test.inotify.ml
        $(OCAMLOPT) -o $@ unix.cmxa $+