# virt-top
-# Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones
+# Copyright (C) 2007-2009 Red Hat Inc., Richard W.M. Jones
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
XOBJS := $(OBJS:.cmo=.cmx)
-OCAMLCFLAGS := -g -w s
+OCAMLCFLAGS := -g -warn-error A
OCAMLCLIBS := -linkpkg
OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
-OCAMLOPTFLAGS := -w s
+OCAMLOPTFLAGS := -warn-error A
OCAMLOPTLIBS := $(OCAMLCLIBS)
BYTE_TARGETS := virt-top
ifeq ($(HAVE_PERLDOC),perldoc)
BYTE_TARGETS += virt-top.1 virt-top.txt
+OPT_TARGETS += virt-top.1 virt-top.txt
endif
all: $(BYTE_TARGETS)