TARGETS = $(MANPAGES) $(TEXTMANPAGES)
-all: $(TARGETS)
+all: byte opt
+
+byte opt: $(TARGETS)
for d in $(SUBDIRS_NOT_PO); do \
$(MAKE) -C $$d $@; \
if [ $$? -ne 0 ]; then exit 1; fi; \
OBJS = virt_dmesg.cmo
XOBJS = virt_dmesg.cmx
-TARGETS = $(OBJS) $(XOBJS)
+all: byte opt
-all: $(TARGETS)
+byte: virt_dmesg.cmo
+
+opt: virt_dmesg.cmx
install:
compile_kerneldb.cmo
XOBJS = $(OBJS:.cmo=.cmx)
-all: $(TARGETS)
+all: byte opt
+
+byte:
+
+opt: $(TARGETS)
compile-kerneldb.opt: $(XOBJS)
ocamlfind ocamlopt \
OBJS = fedora_koji_download_kernels.cmo
XOBJS = $(OBJS:.cmo=.cmx)
-all: $(TARGETS)
+all: byte opt
+
+byte:
+
+opt: $(TARGETS)
fedora-koji-download-kernels.opt: $(XOBJS)
ocamlfind ocamlopt \
TARGETS = $(OBJS) $(XOBJS)
-all: $(TARGETS)
+all: byte opt
+
+byte: virt_ifconfig.cmo
+
+opt: virt_ifconfig.cmx
install:
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 $^
OCAMLDEPFLAGS = $(SYNTAX)
-TARGETS = virt-mem virt-mem.opt
-
OBJS = $(shell for t in $(TOOLS); do echo ../$$t/virt_$$t.cmo; done) virt_mem_main.cmo
XOBJS = $(OBJS:%.cmo=%.cmx)
-all: $(TARGETS)
+all: byte opt
+
+byte: virt-mem
+
+opt: virt-mem.opt
virt-mem: ../lib/virt_mem.cma $(OBJS)
ocamlfind ocamlc \
OBJS = virt_ps.cmo
XOBJS = virt_ps.cmx
-TARGETS = $(OBJS) $(XOBJS)
+all: byte opt
-all: $(TARGETS)
+byte: virt_ps.cmo
+
+opt: virt_ps.cmx
install:
OBJS = virt_uname.cmo
XOBJS = virt_uname.cmx
-TARGETS = $(OBJS) $(XOBJS)
+all: byte opt
-all: $(TARGETS)
+byte: virt_uname.cmo
+
+opt: virt_uname.cmx
install: