OCAMLDEPFLAGS = $(SYNTAX)
-TARGETS = virt_mem.cma virt_mem.cmxa
-
OBJS = virt_mem_gettext.cmo \
virt_mem_version.cmo \
virt_mem_kernels.cmo \
XOBJS = $(OBJS:%.cmo=%.cmx)
-all: $(TARGETS)
+all: byte opt
+
+byte: virt_mem.cma
+
+opt: virt_mem.cmxa
virt_mem.cma: $(OBJS)
ocamlmklib -o virt_mem $^