Separate rules for building bytecode & native code versions.
[virt-mem.git] / dmesg / Makefile.in
index 38fca98..00e4e0e 100644 (file)
@@ -44,9 +44,11 @@ OCAMLDEPFLAGS        = $(SYNTAX)
 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: