Commits

ccorrodi  committed 06821a3

add unix library for all targets

  • Participants
  • Parent commits 52d2fab
  • Branches develop

Comments (0)

Files changed (1)

 SRCDIRS = src,test
 DEBUG = 1
 FLAGS = -build-dir $(OBJDIR) -Is $(SRCDIRS)
+
 ifdef DEBUG
   FLAGS += -cflags -annot,-g -lflags -g
 endif
+
 LIBBUILD = $(OCAMLBUILD) $(FLAGS)
 BUILD = $(OCAMLBUILD) $(FLAGS)
-TESTFLAGS = -lflags -I,/usr/lib/ocaml/oUnit -cflags -I,/usr/lib/ocaml/oUnit -libs unix,oUnit
+TESTFLAGS = -lflags -I,/usr/lib/ocaml/oUnit -cflags -I,/usr/lib/ocaml/oUnit -libs oUnit
 
-LIBS = str
+LIBS = str,unix
 ifdef LIBS
   BUILD += -libs $(LIBS)
 endif