Files
xen/tools/fuzz/cpu-policy/Makefile
T
Anthony PERARD 40d96f0c7d tools: Remove -Werror everywhere else
The previous changeset, e4f5949c44 ("tools: Add -Werror by default to all
tools/"), added "-Werror" to CFLAGS in tools/Rules.mk.  Remove it from
everywhere else now it is duplicated.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
2022-10-14 16:17:41 +01:00

29 lines
487 B
Makefile

XEN_ROOT = $(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
.PHONY: all
all: afl-policy-fuzzer
.PHONY: clean
clean:
$(RM) -f -- *.o .*.d .*.d2 afl-policy-fuzzer
.PHONY: distclean
distclean: clean
$(RM) -f -- *~
.PHONY: install
install: all
.PHONY: uninstall
CFLAGS += $(CFLAGS_xeninclude) -D__XEN_TOOLS__
CFLAGS += $(APPEND_CFLAGS) -Og
vpath %.c ../../../xen/lib/x86
afl-policy-fuzzer: afl-policy-fuzzer.o msr.o cpuid.o
$(CC) $(CFLAGS) $^ -o $@
-include $(DEPS_INCLUDE)